I know that when this map appears in your field of vision, your heartbeat speeds up, but please Don’t be afraid, no one becomes great overnight. Follow and forward my articles, learn a little bit every day, and slowly, you will widen the gap between you and your peers.
Online view address https://www.processon.com/view/link/5a9ba4c8e4b0a9d22eb3bdf0
Don’t spend too much time looking at grammar
The most taboo thing about learning grammar is slowness Watching slowly wears away your patience.
Find a basic grammar book or website such as Rookie Tutorial, and read the grammar in one go.
Be sure to read it carefully. Go's grammar is not complicated.
Type the code according to the Demo in the book
The above process will be very boring, but you must insist on finishing it in one go, otherwise the second The first time, the third time...will slowly wear away your interest and enthusiasm.
Think about what project you most want to do, for example: a Web project. Of course, it is also possible to write a crawler to crawl pictures of girls
At this time You already have a certain understanding of language compilation, operation, and basic syntax, and you can start making things. There is no need to understand everything before starting.
Find a more popular framework such as: Beego
At this time your thirst for knowledge should be the strongest, routing, orm, json and many other needs learn.
Start writing your own Web service
Slowly you may need to re-read the syntax in a targeted manner. This is normal, your brain It’s not a hard drive, and knowledge is accumulated through constant repetition.
Try to write some tricks
Get, Post, json to struct, struct to json, interface implementation, etc., explore one by one.
Use Go to write some work-related applications
If there is no such opportunity, you can write some for existing projects Tools, such as automated deployment tools, service monitoring tools, data migration tools, etc.
The above is the detailed content of Go maps and techniques, get twice the result with half the effort. For more information, please follow other related articles on the PHP Chinese website!