1.创建json配置文件
2.解析json配置文件
3.main方法
4.controller编写
go语言添加全局的json配置文件
原文:https://www.cnblogs.com/huqi96/p/14399548.html