dotenv:从 .env 文件加载环境变量。 ruby gem 'dotenv-rails' 的端口

时间:2021-06-17 14:20:50
【文件属性】:
文件名称:dotenv:从 .env 文件加载环境变量。 ruby gem 'dotenv-rails' 的端口
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-17 14:20:50
Go 多环境 到 Go 语言的端口。 从 .env 文件加载环境变量。 对开发配置有用。 开始: go get github.com/lazureykis/dotenv cd $GOPATH /src/github.com/lazureykis/dotenv/example go run main.go 用法: import "github.com/lazureykis/dotenv" func main () { dotenv . Go () // or dotenv.GoWithPath('/full/path/to/.env_file') }
【文件预览】:
dotenv-master
----dotenv_test.go(911B)
----README.md(560B)
----fixtures()
--------comments.env(48B)
--------quoted.env(116B)
--------plain.env(70B)
----parser()
--------parser.go(786B)
--------parser_test.go(1KB)
----example()
--------main.go(552B)
--------.env(73B)
----dotenv.go(902B)
----.travis.yml(33B)

网友评论