Amazing Golang configuration with Viper
Автор: Cloud Native Skunkworks
Загружено: 2022-05-30
Просмотров: 11349
So you watched how to build beautiful Golang CLI with Cobra?
( • How to write beautiful Golang CLI ) Time to understand how to create a fantastic configuration for it with Viper!
In this video, we look at Viper, how to use it and the key features.
Links:
https://github.com/spf13/viper
https://github.com/cloud-native-skunk...
Timecodes:
0:00 Introduction
1:00 Setup
1:53 First key/value pair
5:41 Nested values
6:01 A note on the docs
6:56 Modify an existing command
11:21 Writing config
15:59 Environmental overrides
18:54 Conclusion
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: