Using golang for web application

polaris · 2017-03-24 03:10:44 · 614 次点击    
这是一个分享于 2017-03-24 03:10:44 的资源,其中的信息可能已经有所发展或是发生改变。

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


评论:

alioygur:

https://www.gitbook.com/book/astaxie/build-web-application-with-golang/details

https://github.com/alioygur/gocart

flippeeer:

https://gowebexamples.github.io/

shovelpost:

https://dave.cheney.net/resources-for-new-go-programmers

bakunin:

Great course for learning go: https://www.udemy.com/learn-how-to-code/

Good course for learning webdev with go: https://www.udemy.com/go-programming-language/

thewhitetulip:

At it's core, a webapp takes an input (http request) and returns an http response.

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.

if the user is authenticated, they are redirected to the home page '/'. '/' is the URL, we have a handler for each URL pattern.

The handlers talk to the database and populate the html templates (which are written in Go's templating syntax).

guide: https://github.com/thewhitetulip/web-dev-golang-anti-textbook/

REST API example of ecommerce: https://gitlab.com/thewhitetulip/shop-rest


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

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