A search on github.com for 'omitemtpy' results in over 50 pages of results! Mainly due to a typo in kubernetes code which got duplicated around the world!
More than happy to add a PR, but wasn't sure of the process as words.go says that it is auto-generated.
It would be great if misspell could catch misspellings of omitempty. Recently I have seen these misspellings:
ompitempty omitemtpy
For example: https://github.com/openshift/installer/pull/4166/files https://github.com/cloudflare/cloudflare-go/pull/531 https://github.com/cloudflare/gokeyless/pull/279 https://github.com/sky-uk/skyinfoblox/pull/74 https://github.com/openshift/machine-config-operator/pull/2104 https://github.com/hashicorp/go-oracle-terraform/pull/188
A search on github.com for 'omitemtpy' results in over 50 pages of results! Mainly due to a typo in kubernetes code which got duplicated around the world!
More than happy to add a PR, but wasn't sure of the process as words.go says that it is auto-generated.