strcase/acronyms.go

11 lines
236 B
Go
Raw Normal View History

2019-11-13 06:25:14 +08:00
package strcase
2020-08-16 20:42:39 +08:00
var uppercaseAcronym = map[string]string{
"ID": "id",
2019-11-13 06:25:14 +08:00
}
// ConfigureAcronym allows you to add additional words which will be considered acronyms
func ConfigureAcronym(key, val string) {
uppercaseAcronym[key] = val
}