<p>I am new to golang and want to use it for web application development . anyone here can give me resources to build a web app ? Basically i am making a shopping cart ! So please help</p>
<hr/>**评论:**<br/><br/>alioygur: <pre><p><a href="https://www.gitbook.com/book/astaxie/build-web-application-with-golang/details" rel="nofollow">https://www.gitbook.com/book/astaxie/build-web-application-with-golang/details</a></p>
<p><a href="https://github.com/alioygur/gocart" rel="nofollow">https://github.com/alioygur/gocart</a></p></pre>flippeeer: <pre><p><a href="https://gowebexamples.github.io/" rel="nofollow">https://gowebexamples.github.io/</a></p></pre>shovelpost: <pre><p><a href="https://dave.cheney.net/resources-for-new-go-programmers" rel="nofollow">https://dave.cheney.net/resources-for-new-go-programmers</a></p></pre>bakunin: <pre><p>Great course for learning go: <a href="https://www.udemy.com/learn-how-to-code/" rel="nofollow">https://www.udemy.com/learn-how-to-code/</a></p>
<p>Good course for learning webdev with go: <a href="https://www.udemy.com/go-programming-language/" rel="nofollow">https://www.udemy.com/go-programming-language/</a></p></pre>thewhitetulip: <pre><p>At it's core, a webapp takes an input (http request) and returns an http response.</p>
<p>When it gets the http request, it takes a look at the token sent by the browser, if it is present, it logs the user in, if not, then it redirects the user to login page.</p>
<p>if the user is authenticated, they are redirected to the home page '/'. '/' is the URL, we have a handler for each URL pattern.</p>
<p>The handlers talk to the database and populate the html templates (which are written in Go's templating syntax).</p>
<p>guide: <a href="https://github.com/thewhitetulip/web-dev-golang-anti-textbook/" rel="nofollow">https://github.com/thewhitetulip/web-dev-golang-anti-textbook/</a></p>
<p>REST API example of ecommerce: <a href="https://gitlab.com/thewhitetulip/shop-rest" rel="nofollow">https://gitlab.com/thewhitetulip/shop-rest</a></p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传