How to learn golang?

coldplay.xixi
Release: 2020-06-20 09:21:53
Original
3580 people have browsed it

How to learn golang?

How to learn golang?

How to learn golang:

Getting started with Go language from scratch can be divided into three stages.

In the first stage, finish watching the video of Ultimate Go Programming.
In the second stage, use the resources provided by the Go language training community to strengthen practice.
In the third stage, study theoretical textbooks on computer systems in turn to gain a deeper understanding of system knowledge.

Five major parts:

The first is the Go language design philosophy (Design Philosophy), which contains an introduction document × 1. I don’t know what Go can be used for. You can start learning here.

In this introductory guide, it is suggested that a set of design concepts must be formulated before learning the Go language, which is more important than formulating rules for blind application.

The design concept places special emphasis on understanding the code itself. Learning to write code is actually similar to learning a natural language. You need to read good and bad code to deepen your sense of language, which is something that many programmers lack. .

The second is Language Mechanics, which includes the syntax, data structure, and decoupling of the Go language, each of which has multiple subdivisions.

How to learn golang?

The third is software design (Software Design), the content is refined to the grouping type decoupling process, interface conversion, interface pollution, mock process and common Minefield.

Each category also contains several source code analyses.

How to learn golang?

The fourth is to study concurrency (Concurrency), that is, in Go coroutine (Goroutine), data competition, multiple channels and no pattern language environment and mode of operation.

The fifth is testing and profiling (Testing and Profiling), which covers basic unit testing, table testing, self-testing and other testing methods, as well as common standards.

In addition, there are various packages (Packages), and the author said that this part is still being improved.

Recommended tutorial: "

go language tutorial"

The above is the detailed content of How to learn golang?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template