Golang for DevOps

Why it's worth mastering Golang at least at a basic level:

In various materials you can find references to Python as the language for automating administration tasks. In general that's true, but Go has a number of advantages, which is exactly why most modern DevOps tools are written in it.

Ease of deployment

You don't need to depend on the presence of a Python interpreter and dependent libraries on the target system for your program to work. All you need is to build an executable for the target architecture and OS via go build.

Static typing

Many errors can be caught at the build stage, which greatly increases the program's reliability. In Python you can specify types too, but you can also not specify them =)

Efficiency

Go is simply faster than interpreted languages like Python or Ruby. That's a fact. And it eats less memory. Thanks to built-in support for concurrency since its very first release, writing asynchronous code and running tasks across multiple threads is fairly simple and fast.

Standard library

For most of your tasks there's a solution in Go's standard library. It's first-class. But there's always the option to pull in third-party solutions, of which there are also a great many.

Overall, the ecosystem and number of Go speakers, while smaller than Python's, is still very large. Not for nothing are these well-known projects written in Go: Kubernetes, terraform (and most HashiCorp products), docker, minio, hugo, restic, grafana, prometheus, and many others.