The Go Handbook – Learn Golang for Beginners
The Go Handbook – Learn Golang for Beginners 관련
Golang is an awesome, simple, modern, and fast programming language.
It’s compiled, open source, and strongly typed.
Golang – also called Go – was created by Google engineers with these main goals:
- make their projects compile (and run) faster
- be simple so people can pick it up in little time
- be low level enough but also avoid some pitfalls of being too low level
- be portable (compiled Go programs are binaries that do not require other files to run and are cross-platform, so they can be distributed easily)
- be boring, stable, predictable, offer less opportunities to make mistakes
- make it easy to take advantage of multiprocessor systems
Go was meant to be a replacement for C and C++ codebases. It aims to make some things simpler like concurrency and memory management, with garbage collection.
Also, it was built to work along with C and C++ codebases, thanks to its C interoperability features.
You can use Go for many different tasks, and it can solve both simple problems and very complex ones.
You can use Go to create command line utilities and networking servers, and it's widely used in many different scenarios.
For example, Docker and Kubernetes are written in Go.
My favorite Static Site Generator (Hugo) is written in Go.
Caddy, a quite popular web server, is written in Go.
There’s lots of different, widely used tools that use this programming language under the hood.
This handbook will introduce you to the Go programming language so you can get started coding in Go.
Where to Go from Here
This handbook is an introduction to the Go programming language.
Beside these basics, there are many things to learn now.
Garbage collection, error handling, concurrency and networking, the filesystem APIs, and much more.
The sky is the limit.
My suggestion is to pick a program you want to build and just start, learning the things you need along the way.
It will be fun and rewarding.
Note
you can get a PDF and ePub version of this Go Beginner's Handbook here