golang-gin-restfulAPI-example-app icon indicating copy to clipboard operation
golang-gin-restfulAPI-example-app copied to clipboard

请教下怎么带环境变量启动呢?

Open beclass opened this issue 5 years ago • 1 comments

请教下怎么根据环境变量启动,读取不同的配置信息呢

beclass avatar Apr 01 '19 02:04 beclass

目前没有相关逻辑,如果需要不同的环境变量可以写到app.ini配置文件中,启动的时候修改一下配置文件就行了https://github.com/wuhe52/golang-gin-restfulAPI-example-app/blob/master/conf/app.ini

coder-eric avatar Apr 01 '19 14:04 coder-eric