top | item 37335930 Ask HN: What is 2023 layout for Go project? 7 points| transportheap | 2 years ago | reply 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. 5 comments order hn newest [+] [-] codegeek|2 years ago|reply Not sure about layouts but look at this:https://autostrada.dev/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. [+] [-] xcircle|2 years ago|reply How to start a Go project in 2023https://news.ycombinator.com/item?id=36046662 [+] [-] chrisjj|2 years ago|reply Serious question. Why in the 21st C would any modern language require a "layout"? [+] [-] runjake|2 years ago|reply It doesn't. OP is asking what's the "best practice" way to set up a Go project scaffold. [+] [-] 0xjnml|2 years ago|reply $ mkdir foo$ cd foo$ go mod init example.com/foo$ touch foo.go
[+] [-] codegeek|2 years ago|reply Not sure about layouts but look at this:https://autostrada.dev/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.
[+] [-] xcircle|2 years ago|reply How to start a Go project in 2023https://news.ycombinator.com/item?id=36046662
[+] [-] chrisjj|2 years ago|reply Serious question. Why in the 21st C would any modern language require a "layout"? [+] [-] runjake|2 years ago|reply It doesn't. OP is asking what's the "best practice" way to set up a Go project scaffold.
[+] [-] runjake|2 years ago|reply It doesn't. OP is asking what's the "best practice" way to set up a Go project scaffold.
[+] [-] codegeek|2 years ago|reply
https://autostrada.dev/
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.
[+] [-] xcircle|2 years ago|reply
https://news.ycombinator.com/item?id=36046662
[+] [-] chrisjj|2 years ago|reply
[+] [-] runjake|2 years ago|reply
[+] [-] 0xjnml|2 years ago|reply
$ cd foo
$ go mod init example.com/foo
$ touch foo.go