rust has cargo to setup, python has poetry/pdm to start. both keep semi consistent project layouts. what does go have? seems nothing built in nor really clear from the golang website.
Ask HN: What is 2023 layout for Go project?
1–6 of 6 posts
Re: Ask HN: What is 2023 layout for Go project?
#2Serious question. Why in the 21st C would any modern language require a "layout"?
Re: Ask HN: What is 2023 layout for Go project?
#3How to start a Go project in 2023
Re: Ask HN: What is 2023 layout for Go project?
#4Not sure about layouts but look at this:
The author alex edwards is top notch and I have found him to be a great teacher on how to build web apps in Go.
Re: Ask HN: What is 2023 layout for Go project?
#5$ mkdir foo
$ cd foo
$ go mod init example.com/foo
$ touch foo.go
Re: Ask HN: What is 2023 layout for Go project?
#6Serious question. Why in the 21st C would any modern language require a "layout"?
It doesn't. OP is asking what's the "best practice" way to set up a Go project scaffold.