Documentation
¶
Index ¶
Constants ¶
View Source
const CommonVersion = "v1.8.6"
CommonVersion is the common lib version.
View Source
const CoreVersion = "v1.8.6"
CoreVersion is the core service version.
View Source
const DefaultFormat = "go_zero"
DefaultFormat defines a default naming style
View Source
const DefaultGoZeroVersion = "v1.10.2"
DefaultGoZeroVersion defines the default version of go zero for migrate
View Source
const DefaultToolVersion = "v1.10.3"
DefaultToolVersion defines the default version of simple admin tools for migrate
View Source
const GoctlsVersion = "v1.14.7"
GoctlsVersion is goctls version
View Source
const LangEnvKey = "SIMPLE_LANG"
LangEnvKey is the environment variable name to control the tools help info language
Variables ¶
View Source
var OldGoZeroVersion = []string{"v1.7.1", "v1.7.2", "v1.7.3", "v1.7.4", "v1.7.5", "v1.7.6", "v1.8.0", "v1.8.1", "v1.8.2", "v1.8.3", "v1.8.4", "v1.8.5", "v1.9.0", "v1.9.1", "v1.9.2", "v1.9.3", "v1.9.4", "v1.10.0", "v1.10.1"}
OldGoZeroVersion defines the old version of go zero for update
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// NamingFormat is used to define the naming format of the generated file name.
// just like time formatting, you can specify the formatting style through the
// two format characters go, and zero. for example: snake format you can
// define as go_zero, camel case format you can it is defined as goZero,
// and even split characters can be specified, such as go#zero. in theory,
// any combination can be used, but the prerequisite must meet the naming conventions
// of each operating system file name.
// Note: NamingFormat is based on snake or camel string
NamingFormat string `yaml:"namingFormat"`
}
Config defines the file naming style
Click to show internal directories.
Click to hide internal directories.