{{ variable.name }}
Introduction: This course is the first lesson of the Go language tutorial. Like many programming languages, writing simple programs in Go is not difficult. In fact, simplicity in development is also one of the features of the Go language. Some students think it's not easy to advance in programming. In fact, that's because they haven't laid a solid foundation. The purpose of this tutorial is to help everyone lay a solid foundation in Go language programming. The first lesson of the Go language tutorial is very important!
Chapter 1: Essential for Beginners
1-1 Features of the Go Language
1-2 Advantages and Disadvantages of the Go Language
1-3 Installation under Linux
Settings 1-4 under Linux
Chapter 2 Basic Rules
Understanding the basic rules of the Go language is a major prerequisite
2-1 Go Language - Workspaces and GOPATH
2-2 Go Language - Classification and Meaning of Source Code Files
2-3 Go Language - Relevant Knowledge of Code Packages (Part 1)
2-4 Go Language - Relevant Knowledge of Code Packages (Part 2)
Chapter 3: Command Basics
It would be truly foolish to have a powerful tool but not use it
3-1 Introduction to the go run Command
3-2 Source Description of Examples
3-3 Case Demonstration of go run Command
3-4 Use of Common Markup in go run
3-5 Case Demonstrations of Common Markup in go run
3-6 Introduction to go build Commands
3-7 Case Demonstration of go build Commands
3-8 Introduction to the go install Command
3-9 Case Demonstration of go install Command
3-10 Introduction to the go get Command
3-11 Case Demonstration of go get Commands
3-12 Use of Common Markup in go get
3-13 Case Demonstration of Common Markup in go get
3-14 Chapter Summary
Chapter 4 Basic Data Types
They are simple but also have some distinctive features
Programming
4-1 Go Language - Program Entities and Keywords
Programming
4-2 Go Language - Variables and Constants
Programming
4-3 Go Language - Naming and Width of Integer Types
Programming
4-4 Go Language - Representation of Integer Type Values
Programming
4-5 Go Language - Floating-point Number Types
Programming
4-6 Go Language - Plural Types
Programming
4-7 bytes and rune
Programming
4-8 Go Language - String Type
Chapter 5 Advanced Data Types 1
Data types that can contain multiple values often belong to the core
Programming
5-1 Go Language - Array Types
Programming
5-2 Go Language - Slice Types
Programming
5-3 Go Language - More Operation Methods for Slicing
Programming
5-4 Go Language - Dictionary Types
Programming
5-5 Go Language - Channel Types
Programming
5-6 Go Language - More Types of Channels
Chapter 6 Advanced Data Types 2
Let's take a look at how Go language ingeniously combines multiple programming paradigms
Programming
6-1 Go Language - Functions
Programming
6-2 Go Language - Structures and Methods
Programming
6-3 Go Language - Interfaces
Programming
6-4 Go Language - Pointers
Programming
6-5 Go Language - Pointers (Continued)
Chapter 7 Basic Process Control
Who still sticks to one path all the way now? Conditions and branches are definitely necessary
Programming
7-1 Go Language -if statement
Programming
7-2 Go language -switch statement
Programming
7-3 Go Language -for statement
Programming
7-4 Go Language -select statement
Chapter 8: More Process Control
Using them is the first step towards advancement
Programming
8-1 Go Language -defer statement
Programming
8-2 Go Language Exception Handling - error
Programming
8-3 Go Language Exception Handling - panic
Programming
8-4 A Preliminary Exploration of go Statements