gmode

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DebugMode indicates gcore mode is debug.
	DebugMode = "debug"
	// ReleaseMode indicates gcore mode is release.
	ReleaseMode = "release"
	// TestMode indicates gcore 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