go语言添加全局的json配置文件

1.创建json配置文件

 2.解析json配置文件

 3.main方法

 4.controller编写

原文地址:https://www.cnblogs.com/huqi96/p/14399548.html