Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Amazing Golang Configuration with Viper

Cloud Native Skunkworks via YouTube

Overview

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.

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

Reviews

Start your review of Amazing Golang Configuration with Viper

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.