mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-12-22 00:36:41 +02:00
14 lines
253 B
Go
14 lines
253 B
Go
|
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)
|
||
|
}
|