Mapping happens at package scope, not type scope. This is what causes some of the surprising mixes of camel and snake casing in our packages. In order to accommodate this, build the case mapping tables up front, and refer to them when performing case mapping. |
||
---|---|---|
.. | ||
testdata | ||
host.go | ||
providers.go |