<p>Hi,</p>
<p>I've read a number of blog posts about RESTful APIs in Go and am now looking for an open-source example to use as reference?</p>
<p>Thanks!</p>
<hr/>**评论:**<br/><br/>oleksii1: <pre><p>Hi,
i would recommend you to check <a href="https://github.com/sourcegraph/thesrc" rel="nofollow">https://github.com/sourcegraph/thesrc</a> . You will see structure of Web App + you will find basic implementation of API.
As for me combination of standard net/http + gorilla + sqlx seems good enough for development.</p></pre>c-dex: <pre><p>+1 thanks.</p></pre>tinygopher: <pre><p>I just built one for the gopher gala. I am noob to go also but it can give you a couple things to look at. I use jwt for sessions, bcrypt for password hashing, gin for routing, and the basic sql package for database. Like I said I am a noob too and it is by no means complete or ready for prod* but it is at least a way to see the outcome of combining a few packages based on several tutorials. </p>
<p><a href="https://github.com/gophergala2016/learnlink" rel="nofollow">https://github.com/gophergala2016/learnlink</a></p></pre>c-dex: <pre><p>+1 thanks.</p></pre>: <pre><p>[deleted]</p></pre>c-dex: <pre><blockquote>
<p>I've read a number of blog posts about RESTful APIs in Go</p>
</blockquote>
<p>If I'm asking this on Reddit and I've read blog posts, you can safely assume that I've used Google...</p>
<p>Looking for production server code, so that I can make comparisons especially around testing.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传