Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FlagXProd = varflag.BoolFunc("x-prod", false, "DEV ONLY: force app into production mode setting app_is_devel false when running from source.")
)
Functions ¶
func RuntimeCallerStr ¶
RuntimeCallerStr is utility function to get the caller information. It returns the file and line number of the caller in form of string. e.g. /path/to/file.go:123
Types ¶
type Settings ¶
type Settings struct {
AllowProd settings.Bool `default:"false" desc:"Allow set app into production mode when running from source."`
}
Settings for the devel module. These settings are used to configure the behavior of the application when user compiles your application from source or uses go run .
Click to show internal directories.
Click to hide internal directories.