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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Building an API with Go at Microco.sm

57 点作者 hebz0rl将近 12 年前

7 条评论

feniv将近 12 年前
My experience has been pretty similar: Go is perfect for building high performance APIs. A lot of the library infrastructure is still in early stages.<p>One suggestion: Don&#x27;t bog down your application server with serving static files (Slide 7. favicon and robots.txt). I put all of my css, js and image files in a &#x2F;static sub-directory and configured nginx to serve any URL starting with &#x2F;static without hitting my go-server.
评论 #6047076 未加载
评论 #6048388 未加载
评论 #6047599 未加载
redbad将近 12 年前
Nice overview. Somewhat frustrating to see non-gofmt&#x27;d code examples. Fix that up :)
评论 #6045790 未加载
koblas将近 12 年前
Maybe I missed it - but it would be really cool to see a large fragment of working code for some of the apis.
motter将近 12 年前
None of the links work in the embedded version, but if you download the PDF they&#x27;re fine.
ajack将近 12 年前
As a member of LFGSS and HN, yes!
评论 #6046556 未加载
zeckalpha将近 12 年前
18k lines? Does that seem high to anyone else? Or am I missing something important?
评论 #6046256 未加载
评论 #6046191 未加载
pjmlp将近 12 年前
Please call them web services or REST API, just API is confusing.