(1 minute for reading)
Golang is an open source programming language designed for building simple, fast, and reliable software.
It is a minimalist language, and that’s (mostly) a blessing. The formal Go language specification is only 50 pages, has plenty of examples, and is fairly easy to read. A skilled programmer could probably learn Go from the specification alone.
The core language consists of a few simple, orthogonal features that can be combined in a relatively small number of ways. This makes it easier to learn the language, and to read and write programs.
In this article, I will share with you a list some basic example by Golang. And because this is only basic stuff for amateur, so I think it is so boring. But believe me, I also start with something very very basic so that
- How to Install and Run Golang code with Traditional Super Simple Example
- Data type, variable and value in Golang
- Constant
- Statements(if/else, switch, for loop,…)
- Array, Slice, Map
- Function
- Range
- Pointer
- Struct, method
- Interface
- Json data
- Go-routine
- Channel
- Timer and Tickers
- Errors
- WaitGroup
- Signal
- Read/Write file
- Advance function with string