platform

package
v1.0.60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IOSPlatformID = iota + 1
	AndroidPlatformID
	HuaweiPlatformID
	BrowserPlatformID
	ConsolePlatformID
	LinuxPlatformID
	WindowsPlatformID

	IOSPlatformStr     = "IOS"
	AndroidPlatformStr = "Android"
	HuaweiPlatformStr  = "Huawei"
	BrowserPlatformStr = "Browser"
	ConsolePlatformStr = "Console"
	LinuxPlatformStr   = "Linux"
	WindowsPlatformStr = "Windows"
)

Variables

Functions

func PlatformIDToName

func PlatformIDToName(num int) string

func PlatformNameToID

func PlatformNameToID(name string) int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL