appconst

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// EnvInitLogLevel key. eg: export KITE_INIT_LOG=debug
	EnvInitLogLevel = "KITE_INIT_LOG"
	// EnvKiteVerbose level. eg: info, warn
	EnvKiteVerbose = "KITE_VERBOSE"
	// EnvKiteBaseDir for override the KiteDefaultBaseDir
	EnvKiteBaseDir = "KITE_BASE_DIR"
	// EnvKiteConfig main config file env name
	EnvKiteConfig = "KITE_CONFIG_FILE"
	EnvKiteDotEnv = "KITE_DOTENV_FILE"
	// EnvKiteWorkdir for override the workdir
	EnvKiteWorkdir = "KITE_WORKDIR"

	DotEnvFileName = ".env"
	// KiteConfigName default main config filename
	KiteConfigName = "kite.yml"
	// KiteDefaultBaseDir path for: config, tmp and more
	KiteDefaultBaseDir = "~/.kite-go"

	// AppName for the application
	AppName = "kite"

	// ConfKeyApp name on config
	ConfKeyApp = "app"
)
View Source
const (
	Nl    = "NL"
	Space = "SPACE"
	TAB   = "TAB"
)

some special chars name

View Source
const (
	OnBeforeBoot = "app.boot.before"
	OnAfterBoot  = "app.boot.after"

	OnBeforeConfig = "app.config.before"
	OnAfterConfig  = "app.config.after"

	OnBeforeConsole = "app.console.before"
	OnAfterConsole  = "app.console.after"

	OnBeforeRoute = "app.route.before"
	OnAfterRoute  = "app.route.after"
)

Some app event names

View Source
const (
	VarFormat = "{,}"
)

Variables

View Source
var (
	Timezone   = "PRC"
	DateFormat = "2006/01/02 15:04:05.000"
)
View Source
var (
	// StdinAliases list
	StdinAliases = []string{"@i", "@si", "@stdin", "stdin"}
	// StdoutAliases list
	StdoutAliases = []string{"@o", "@so", "@stdout", "stdout"}
	// ClipAliases list
	ClipAliases = []string{"@c", "@cb", "@clip", "@clipboard", "clipboard"}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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