TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What is 2023 layout for Go project?

7 pointsby transportheapover 1 year ago
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.

4 comments

codegeekover 1 year ago
Not sure about layouts but look at this:<p><a href="https:&#x2F;&#x2F;autostrada.dev&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;autostrada.dev&#x2F;</a><p>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.
xcircleover 1 year ago
How to start a Go project in 2023<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36046662">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36046662</a>
chrisjjover 1 year ago
Serious question. Why in the 21st C would any modern language require a &quot;layout&quot;?
评论 #37351503 未加载
0xjnmlover 1 year ago
$ mkdir foo<p>$ cd foo<p>$ go mod init example.com&#x2F;foo<p>$ touch foo.go