-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
The https://github.com/iancoleman/strcase library changed its default behavior between v0.2.0 and v0.3.0 such that: - before `DNS_NXDOMAIN_error` became `DNSNXDOMAINError`; - now it becomes `DnsNxdomainError`. In the grand scheme of things, perhaps, this change makes sense for the library. However, as a user, what I see is a breaking change between two minor versions (admittedly we're at v0.x). Because I don't know what would happen next and I don't want any more surprises, I am forking [email protected]. This work is part of ooni/probe#2524
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
package strcasex | ||
|
||
var uppercaseAcronym = map[string]string{ | ||
"ID": "id", | ||
} | ||
|
||
// ConfigureAcronym allows you to add additional words which will be considered acronyms | ||
func ConfigureAcronym(key, val string) { | ||
uppercaseAcronym[key] = val | ||
} |