Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamingStrategies ¶
func GetNamingStrategies() map[IndexNamePattern]Naming
Types ¶
type GenerateIndexNameResult ¶
type IndexNamePattern ¶
type IndexNamePattern string
nolint:no-doc 自定义枚举类型
const ( WithTableCnm IndexNamePattern = "cnm" //表示使用 column name 作为拼接索引名的规则 UppercaseCnm IndexNamePattern = "CNM" //表示使用 column name 作为拼接索引名的规则,但后缀是大写字母的 DefaultPattern IndexNamePattern = WithTableCnm )
Click to show internal directories.
Click to hide internal directories.