Explore the powerful Golang configuration library Viper in this 20-minute video tutorial. Learn how to create robust configurations for Golang CLI applications, building upon previous knowledge of Cobra. Discover key features of Viper, including setting up key-value pairs, working with nested values, modifying existing commands, writing configurations, and implementing environmental overrides. Follow along with practical examples and gain insights into best practices for efficient configuration management in Golang projects. Access additional resources, including the Viper GitHub repository and a toolbox CLI example, to further enhance your understanding and implementation skills.
Overview
Syllabus
Introduction
Setup
First key/value pair
Nested values
A note on the docs
Modify an existing command
Writing config
Environmental overrides
Conclusion
Taught by
Cloud Native Skunkworks