Re: [go-nuts] How ignore a subdirectory

2023-09-13 Thread Ian Lance Taylor
On Wed, Sep 13, 2023 at 12:27 PM 'John Souvestre' via golang-nuts wrote: > > What is TIL? https://knowyourmeme.com/memes/today-i-learned-til Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving

RE: [go-nuts] How ignore a subdirectory

2023-09-13 Thread 'John Souvestre' via golang-nuts
-nuts] How ignore a subdirectory 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 mailto:jo...@souvestre.com> > wr

RE: [go-nuts] How ignore a subdirectory

2023-09-13 Thread 'John Souvestre' via golang-nuts
: John Souvestre Cc: golang-nuts@googlegroups.com Subject: Re: [go-nuts] How ignore a subdirectory On Wed, Sep 13, 2023 at 12:25 PM John Souvestre mailto:j...@souvestre.com> > wrote: > I did try that also. I get this error message: > > CreateFile *.go: The filename, directory

Re: [go-nuts] How ignore a subdirectory

2023-09-13 Thread Ian Lance Taylor
On Tue, Sep 12, 2023 at 8:47 PM 'John Souvestre' via golang-nuts wrote: > > I’m trying to run gofmt on all of the .go files in a directory, but not any > subdirectories. I have tried using “.” for the target. It does get all of > the .go in the current directory, but it also does all the .go

Re: [go-nuts] How ignore a subdirectory

2023-09-13 Thread Brian Candler
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 > wrote: > > I did try that also. I get this error message: > > > > CreateFile

Re: [go-nuts] How ignore a subdirectory

2023-09-13 Thread Jan Mercl
On Wed, Sep 13, 2023 at 12:25 PM John Souvestre 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

RE: [go-nuts] How ignore a subdirectory

2023-09-13 Thread 'John Souvestre' via golang-nuts
01:31 To: John Souvestre Cc: golang-nuts@googlegroups.com Subject: Re: [go-nuts] How ignore a subdirectory On Wed, Sep 13, 2023 at 5:47�AM 'John Souvestre' via golang-nuts wrote: > I�m trying to run gofmt on all of the .go files in a directory, but not any > subdirectories. $ gofmt *

Re: [go-nuts] How ignore a subdirectory

2023-09-13 Thread Jan Mercl
On Wed, Sep 13, 2023 at 5:47 AM 'John Souvestre' via golang-nuts wrote: > I’m trying to run gofmt on all of the .go files in a directory, but not any > subdirectories. $ gofmt *.go -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To