We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kcoin-Golang/src/models/models.go
Line 11 in 774e28e
建议使用github.com/joho/godotenv 这个库,从环境变量或者代码目录里的.env文件中读取数据库连接信息,在.gitignore文件中添加.env这一项,避免生产环境配置被传到公共仓库上
.env
The text was updated successfully, but these errors were encountered:
是这样的,这个很早就想做了,beego框架提供了config文件以及从config文件中读取配置的接口,但是好像一直没做。
Sorry, something went wrong.
No branches or pull requests
Kcoin-Golang/src/models/models.go
Line 11 in 774e28e
建议使用github.com/joho/godotenv 这个库,从环境变量或者代码目录里的
.env
文件中读取数据库连接信息,在.gitignore文件中添加.env这一项,避免生产环境配置被传到公共仓库上The text was updated successfully, but these errors were encountered: