Documentation ¶
Index ¶
- Constants
- Variables
- func FillURI(gt, param string, f func(uri string) string) (uri string)
- func InvalidBuild(srcBuild, cfgBuild int, cfgCond string) bool
- func IsAndroid(plat int8) bool
- func IsIOS(plat int8) bool
- func IsOverseas(plat int8) bool
- func MobiAPPBuleChange(mobiApp string) string
- func Plat(mobiApp, device string) int8
- func PlatAPPBuleChange(plat int8) int8
- func URLHTTPS(uri string) (url string)
Constants ¶
View Source
const ( // PlatAndroid is int8 for android. PlatAndroid = int8(0) // PlatIPhone is int8 for iphone. PlatIPhone = int8(1) // PlatIPad is int8 for ipad. PlatIPad = int8(2) // PlatWPhone is int8 for wphone. PlatWPhone = int8(3) // PlatAndroidG is int8 for Android Global. PlatAndroidG = int8(4) // PlatIPhoneI is int8 for Iphone Global. PlatIPhoneI = int8(5) // PlatIPadI is int8 for IPAD Global. PlatIPadI = int8(6) // PlatAndroidTV is int8 for AndroidTV Global. PlatAndroidTV = int8(7) // PlatAndroidI is int8 for Android Global. PlatAndroidI = int8(8) // PlatAndroidB is int8 for Android Blue. PlatAndroidB = int8(9) // PlatIPhoneB is int8 for Ios Blue PlatIPhoneB = int8(10) // PlatBilistudio is int8 for bilistudio PlatBilistudio = int8(11) // PlatAndroidTVYST is int8 for AndroidTV_YST Global. PlatAndroidTVYST = int8(12) GotoAv = "av" GotoWeb = "web" GotoBangumi = "bangumi" GotoSp = "sp" GotoLive = "live" GotoGame = "game" GotoPegasusTab = "pegasus" )
Variables ¶
Functions ¶
func InvalidBuild ¶
InvalidBuild check source build is not allow by config build and condition. eg: when condition is gt, means srcBuild must gt cfgBuild, otherwise is invalid srcBuild.
func PlatAPPBuleChange ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.