mode

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// DebugMode indicates game mode is debug.
	DebugMode = "debug"
	// ReleaseMode indicates game mode is release.
	ReleaseMode = "release"
	// TestMode indicates game mode is test.
	TestMode = "test"
)

Variables

This section is empty.

Functions

func GetMode

func GetMode() string

GetMode 获取运行模式

func IsDebugMode

func IsDebugMode() bool

IsDebugMode 是否Debug模式

func IsReleaseMode

func IsReleaseMode() bool

IsReleaseMode 是否Release模式

func IsTestMode

func IsTestMode() bool

IsTestMode 是否Test模式

func SetMode

func SetMode(m string)

SetMode 设置运行模式

Types

This section is empty.

Jump to

Keyboard shortcuts

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