Golang Series
Hello GoLang: This Article
GoLang (var and const) Variables and Constants: https://blog.yexca.net/archives/155
GoLang (func) Functions: https://blog.yexca.net/archives/156
GoLang (slice and map) Slices: https://blog.yexca.net/archives/160
GoLang (OOP) Object-Oriented Programming: https://blog.yexca.net/archives/162
GoLang (reflect) Reflection: https://blog.yexca.net/archives/204
GoLang (struct tag) Struct Tags: https://blog.yexca.net/archives/205
GoLang (goroutine) Goroutines: https://blog.yexca.net/archives/206
GoLang (channel) Channels: https://blog.yexca.net/archives/207
Go Download: https://go.dev/dl/
JetBrains GoLand: https://www.jetbrains.com/go/
Go Intro
Go compiles directly and can be deployed by just running it; it’s a static-typed language.
| |
Some Go Applications
(1). Cloud Infrastructure
Key projects: Docker, Kubernetes, etcd, Consul, Cloudflare CDN, Qiniu Cloud Storage, etc.
(2). Core Backend Software
Key projects: TiDB, InfluxDB, CockroachDB, etc.
(3). Microservices
Key projects: go-kit, micro, Monzo Bank’s Typhon, Bilibili, etc.
(4). Internet Infrastructure
Key projects: Ethereum, Hyperledger, etc.
Hello Go
| |
Generally, the main function is the first function executed after startup; if an init function exists, it will execute first.
When defining a function, the
{must be on the same line as the function name.