To get the package, execute:
go get gopkg.in/go-yaml/v3/yaml
To import this package, add the following line to your code:
import "gopkg.in/go-yaml/v3/yaml"
For more details, see the API documentation.