1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2024-12-22 00:36:41 +02:00
crud_generator/vendor/github.com/iancoleman/strcase/acronyms.go

14 lines
253 B
Go
Raw Normal View History

2023-10-24 17:03:04 +02:00
package strcase
import (
"sync"
)
var uppercaseAcronym = sync.Map{}
//"ID": "id",
// ConfigureAcronym allows you to add additional words which will be considered acronyms
func ConfigureAcronym(key, val string) {
uppercaseAcronym.Store(key, val)
}