Skip to content

Commit

Permalink
fix_common_init_map
Browse files Browse the repository at this point in the history
  • Loading branch information
sachsingh committed Feb 6, 2023
1 parent 2262fbc commit fb6adb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions codegen/casing.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var pascalCaseMap *sync.Map

// CommonInitialisms is taken from https://github.com/golang/lint/blob/206c0f020eba0f7fbcfbc467a5eb808037df2ed6/lint.go#L731
var CommonInitialisms = map[string]bool{
"ACL": true,
"ACL": false,
"API": true,
"ASCII": true,
"CPU": true,
Expand All @@ -48,7 +48,7 @@ var CommonInitialisms = map[string]bool{
"IP": true,
"JSON": true,
"LHS": true,
"OS": true,
"OS": false,
"QPS": true,
"RAM": true,
"RHS": true,
Expand All @@ -69,7 +69,7 @@ var CommonInitialisms = map[string]bool{
"UTF8": true,
"VM": true,
"XML": true,
"XMPP": true,
"XMPP": false,
"XSRF": true,
"XSS": true,
}
Expand Down

0 comments on commit fb6adb2

Please sign in to comment.