Working with YAML
Explore how to work with YAML files in Go by using external packages, focusing on go-yaml. Understand struct mapping, marshaling, unmarshaling, and managing dependencies with Go modules.
We'll cover the following...
We'll cover the following...
External packages for YAML
In this lesson, we briefly discuss how to work with YAML files in Go. The Go standard library does not include support for YAML files, which means that we should look at external packages for YAML support. There exist three main Go packages that allow us to work with YAML:
...