Go knowledge of the underlying language summary] [novice will learn


Foreword

Text and images in this article from the network, only to learn, exchange, not for any commercial purposes, belongs to original author, if any questions, please contact us for treatment.
Author: YID_152
Next we come to share the basic knowledge you want to go: If you are just learning to go soon, the problem is more, you can go to the development of language exchange golang small series of small series of dress: a long time they pass collar class under the collar of the collar (digital homonym) conversion can be found inside the latest go golang language tutorials and project combat, there are questions to ask and more people inside, will be to solve, oh faster progress

The basic configuration of the first chapter go
learning points
(1) go language development and introduction
(2) the installation go language
(3) go in Project Management
(4) go command
(5) development tools in the (group with vim, there with a good vim)

Reflection:
What are (1) project management in three directories are, what role?
(2) command bulid, install, what run, the difference between? What application scenarios are?
What (3) go language features are?
The second chapter go basis of language
learning points
(1) variable declarations, type
(2) process structure, function
to reflect
(1) a pack how to call another function package, go public and private language of how to express?
(2) a brief introduction about the use of closures scene, the advantages and disadvantages?
(3) the difference between map and array make use of?
Operating mode (4) defer to
(5) using the anonymous function (difficulty)
Examples
(1) Design a packet storage memory package to support the chain storage, storage array, map stores three ways, namely three ways to achieve CRUD and the main test.
1
Chapter III of object-oriented and concurrent
learning points
(1) Object-Oriented Method, property &
(2) Interface
(3) concurrent & Communications
reflect
(1) go language how to behave inheritance
(2) interface advantages, usage scenarios.
(3) What message communication mechanism for concurrent use.
Examples
(1) do a simple search tool, input directory for fixed file type, log file path, returned to the client
(2) make a simple C / S communication

Summary: Now the basic syntax go already mastered, you can simply write something.
Also need to go when in-depth study of Web development & json protocol. If you are just learning to go soon, the problem is more, you can go to small series of small series of language exchange skirt golang development: a long collar class they pass under the collar of the collar (digital homonym) conversion can be found, there are new go golang language tutorials and project combat, there are questions to ask and more people inside, will be to solve, oh faster progress

Guess you like

Origin www.cnblogs.com/chengxuyuanaa/p/12079130.html