Member-only story

Golang: how to parse YAML file?

Kanan Rahimov
Sep 21, 2019

--

In this short tutorial, we will write an application which will parse YAML file and convert it into Go struct for further usage.

As you can see I use go-yaml package for Unmarshal operation.

Please refer to the package’s official documentation for more details.

If you’ve any feedback, don’t hesitate to get in touch with me about what I can improve or provide better examples.

Follow me on Twitter and GitHub for more code snippets, posts, updates.

Also, you can check out my YouTube Channel.

Thanks! Happy coding! 👋🏼

--

--

Kanan Rahimov
Kanan Rahimov

No responses yet