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] Forking/transfering a repository and import paths

2023-09-13 Thread Nikolay Bryskin
Hello, are there any updates on this issue? I've faced this problem too when I tried to make my own fork of a large go library with a lot of self-imports inside - do I actually need to rename all these imports inside for it even to compile? On Sunday, December 30, 2018 at 10:11:12 AM UTC+2

RE: [go-nuts] How ignore a subdirectory

2023-09-13 Thread 'John Souvestre' via golang-nuts
You are correct. However, “gofmt .” recurses. It turns out that they handle it differently. John John SouvestreNew Orleans LA, USA504-454-0899 From: golang-nuts@googlegroups.com On Behalf Of Brian Candler Sent: 2023-09-13, Wed 07:30 To: golang-nuts Subject: Re:

RE: [go-nuts] How ignore a subdirectory

2023-09-13 Thread 'John Souvestre' via golang-nuts
What is TIL? Installing WSL just to solve this seems like it might be overkill. A for loop in a batch file, or in DOSKEY, would suffice. John John SouvestreNew Orleans LA, USA504-454-0899 From: Jan Mercl <0xj...@gmail.com> Sent: 2023-09-13, Wed 05:33 To: John

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

[go-nuts] Re: GO language best practice document

2023-09-13 Thread jake...@gmail.com
In addition to the style guide, I have found https://github.com/golang/go/wiki/CodeReviewComments to have some interesting insights. On Friday, September 8, 2023 at 9:05:12 AM UTC-4 Alexandre Roy wrote: > Hi, > > I want to start a new web application using GO with AWS Lambda, but first > I

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
I did try that also. I get this error message: CreateFile *.go: The filename, directory name, or volume label syntax is incorrect. John John SouvestreNew Orleans LA, USA504-454-0899 -Original Message- From: Jan Mercl <0xj...@gmail.com> Sent: 2023-09-13, Wed 01:31 To:

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