TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Good examples of Go back ends?

7 点作者 looshch超过 1 年前
hi!<p>can i please ask if someone knows good examples of back ends written in Go? If not good, just production code would be great as well!<p>thanks in advance and have a great rest of the weekend!

1 comment

thrwwycbr超过 1 年前
Most golang backends I&#x27;ve seen meanwhile use or switched to using the &quot;gin&quot; framework to build their APIs.<p>A lot of them also have conventions for the frontend, where the assets usually are stored in &#x2F;public, so they can be go:embed later as an embed.FS instance into the binary.<p>Having said that, there&#x27;s plenty of examples on github. I&#x27;d recommend to take a look at bigger projects or templates and understand how they structured their packages and abstraction levels. E.g. go-admin comes to mind [1]<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;GoAdminGroup&#x2F;go-admin">https:&#x2F;&#x2F;github.com&#x2F;GoAdminGroup&#x2F;go-admin</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;gin-gonic&#x2F;gin">https:&#x2F;&#x2F;github.com&#x2F;gin-gonic&#x2F;gin</a>
评论 #39088516 未加载