ccase is a command line tool which helps to convert ".go" file names to a name that follows the conventions of the Go programming language.
go install github.com/kaatinga/ccase@latest
To get help run:
ccase -h
To rename files in the pkg/service folder run:
ccase --path pkg/service
or just:
ccase
in the folder you want to rename files.
Note that all the subfolders will be processed recursively.