You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
236 B

  1. package strcase
  2. var uppercaseAcronym = map[string]string{
  3. "ID": "id",
  4. }
  5. // ConfigureAcronym allows you to add additional words which will be considered acronyms
  6. func ConfigureAcronym(key, val string) {
  7. uppercaseAcronym[key] = val
  8. }