I believe that "go fmt ." (note the space after "go") works on the current package only.
On Wednesday, 13 September 2023 at 11:34:35 UTC+1 Jan Mercl wrote: > On Wed, Sep 13, 2023 at 12:25 PM John Souvestre <jo...@souvestre.com> > wrote: > > I did try that also. I get this error message: > > > > CreateFile *.go: The filename, directory name, or volume label > syntax is incorrect. > > Sorry, I'm not familiar with Windows and only TIL cmd.exe does not expand > globs. I suggest to install WSL and try something like > > C:\>bash -c 'gofmt *.go' > > HTH > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/cf14f4f9-14fa-495e-905e-d7a62d8c070dn%40googlegroups.com.