First, learning ideas
Two days to learn Golang, but this time is not read, directly write code first.
We often get used to reading while learning to write code, but found that the process is relatively slow, so I first want to write code,
While writing and checking. As far as we know, web apps are generally based on the MVC framework, so I can write the data layer first, binate write
Database check data start, can be used in DAO mode, but here I just use a simple sample, not so complicated.
Then write the data layer, then write the view layer, the view layer is the app logic layer, and then write the HTTP front-end rendering layer.
Step by step, encountered do not understand on the search.
Second, learning Resources
Golang ebook
An Introduction to programming in Go.pdf
Network Programming with Go.pdf
Programming in Go.pdf
The Go programming Language phrasebook.pdf
The To Go.pdf
Third, the Code
Share book, has not finished the front end ...