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
|
|
|
}
|
2020-10-17 18:07:13 +08:00
|
|
|
|
|
|
|
// ConfigureAcronym allows you to add additional words which will be considered acronyms
|
|
|
|
func ConfigureAcronym(key, val string) {
|
|
|
|
uppercaseAcronym[key] = val
|
|
|
|
}
|