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.

Building an API with Go at Microco.sm

57 pointsby hebz0rlalmost 12 years ago

7 comments

fenivalmost 12 years ago
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 未加载
redbadalmost 12 years ago
Nice overview. Somewhat frustrating to see non-gofmt&#x27;d code examples. Fix that up :)
评论 #6045790 未加载
koblasalmost 12 years ago
Maybe I missed it - but it would be really cool to see a large fragment of working code for some of the apis.
motteralmost 12 years ago
None of the links work in the embedded version, but if you download the PDF they&#x27;re fine.
ajackalmost 12 years ago
As a member of LFGSS and HN, yes!
评论 #6046556 未加载
zeckalphaalmost 12 years ago
18k lines? Does that seem high to anyone else? Or am I missing something important?
评论 #6046256 未加载
评论 #6046191 未加载
pjmlpalmost 12 years ago
Please call them web services or REST API, just API is confusing.