2. What is Go language?
2
Go language (Golang) is a programming language developed
by Google
3. Why Golang?
3
Issues in existing programming languages (mainly C, C++)
Compiling is slow.
Garbage collection and parallel computation are not well
supported.
> We believe it's worth trying again with a new language, a
concurrent, garbage-collected language with fast compilation.
* https://golang.org/doc/faq
4. Fields where Golang is used
4
Container technologies
Docker
Kubernetes
Infrastructure platform
Terraform
Network
traefik
Monitoring
Grafana
Prometheus
6. Feature of Golang
6
You can write concurrency easily
Golang has green thread, “goroutine”
Communicate between goroutine by using
“channel”
Sample code
7. Golang abandoned what has been cultivated
7
Golang drops
Exception -> Golang's approach
> We believe that coupling exceptions to a control
structure, as in the try-catch-finally idiom, results in
convoluted code.
Inheritance -> Golang's approach
> Because there are no explicit relationships
between types and interfaces, there is no type
hierarchy to manage or discuss.