<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>
![](https://static.golangjob.cn/static/img/banner.png)