Getting Started with Go
In this chapter, we dive into the Go basics and the characteristics that make it comparable to a dynamically typed language, but with the efficiency and safety of a statically typed, compiled language.
We also explore different Go packages to manipulate data in different formats and how to scale programs with Go’s concurrency model. Being able to manipulate data effectively and take advantage of all the resources of systems running multi-core processors are key elements to keep in mind when automating networks.
During this chapter, we cover the following key topics:
- Go variable types
- Go’s arithmetic, comparison, and logical operators
- Control flow
- Functions in Go
- Interfaces in Go
- Input and output operations
- Decoding and encoding with Go
- Concurrency