Describe the bug
Name mangler's ToGoName panics on the following inputs:
- LinkLocalIPs
- nativeBaseURLs
This indicates a flaw in the detection of pluralized initialisms.
Steps to Reproduce
func TestManglerToGoName_IssueXYZ(t *testing.T) {
m := NewNameMangler()
require.Equal(t, "LinkLocalIPs", m.ToGoName("LinkLocalIPs"))
require.Equal(t, "NativeBaseURLs", m.ToGoName("nativeBaseURLs"))
}
Expected behavior
Actual behavior
Environment
Additional context