You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gopherbot
added
the
Tools
This label describes issues relating to any tools in the x/tools repository.
label
Apr 3, 2020
andybons
changed the title
x/tools/cmd/stringer feature request: stringer support for uppercase / lowercase
x/tools/cmd/stringer: support for upper / lower / title case
Apr 3, 2020
It’s difficult to know the exact behavior you want because you don’t provide example code or shell output.
That said, cmd/stringer is considered feature complete and no work aside from bug fixes will likely be done on it. You can easily fork it to support your use-case, however.
Hi Everybody,
it would be great to have stringer works with different case styles like
-case=toUpper
-case=toLower
-case=title
using the strings function
https://golang.org/pkg/strings/#ToUpper
https://golang.org/pkg/strings/#ToLower
https://golang.org/pkg/strings/#Title
(also in combination with "trim-prefix")
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Feature Request, yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: