Golang viper mapping environment variable to struct member

后端 未结 0 1057
囚心锁ツ
囚心锁ツ 2021-01-16 13:21

Here\'s my config.yaml file

server:
  port: 5000

here\'s my logic to unmarshal using viper

type Configurations st         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题