advice piecing together my first golang project

blov · · 450 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi there! I&#39;m looking for advice on which tutorials and resources to follow. I&#39;m from JS land and have mixed language experience. I&#39;ve been building a twitter web application for a month using meteorJS, which I&#39;ve found to be less than satisfactory (endless issues related to ecosystem). </p> <p>I would like to start building the application in golang. The application requires use of the stripe payment API, and twitter oAuth and downloading tweets and storing them in a document database. Which tutorials would you recommend? As a go noob, im not in a position to judge which tutorials are up to date or reliable. </p> <p>Would you recommend using caddy as a base? I don&#39;t really care about the front end at this point, I&#39;m comfortable building that, and will turn to it after getting the server (login, storage and payment) features running nicely. </p> <p>EDIT: I&#39;m trying this <a href="https://github.com/dghubble/gologin/tree/master/examples/twitter" rel="nofollow">https://github.com/dghubble/gologin/tree/master/examples/twitter</a></p> <hr/>**评论:**<br/><br/>jeffrallen: <pre><p>Do the tour: <a href="https://tour.golang.org/welcome/1" rel="nofollow">https://tour.golang.org/welcome/1</a></p> <p>Then Effective Go: <a href="https://golang.org/doc/effective_go.html" rel="nofollow">https://golang.org/doc/effective_go.html</a></p> <p>Then read everything you can from <a href="https://blog.golang.org" rel="nofollow">https://blog.golang.org</a></p> <p>As a beginner, do not use a web framework, use the standard library. (Once you know how it works, you might choose not to use a web framework at all, but you need to at least know the std lib before you make any decisions.)</p> <p>Welcome and have fun. Post here and ask for reviews early and often, we can help you break bad habits early.</p> <p>-jeff</p></pre>basiclaser: <pre><p>thanks for your response - i&#39;m glad you mentioned the frameworks thing i was asking myself the same thing RE caddy, didn&#39;t know why i wanted to use it so probably best not to. </p> <p>Can you speak to any particular libs regarding twitter or stripe? </p></pre>jeffrallen: <pre><p>gologin looks like a good choice because it is intended to integrate with the std library. The key term I liked seeing was &#34;chainable&#34;.</p> <p>No clue on Stripe, but they are a Go-friendly company, so prefer the library straight from them...</p> <p>-jeff </p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

450 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传