Documentation ¶
Overview ¶
Package dotnev provide load .env data to os ENV
Deprecated: please use github.com/gookit/ini/v2/dotenv
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Load = dotenv.Load LoadExists = dotenv.LoadExists LoadFromMap = dotenv.LoadFromMap LoadedData = dotenv.LoadedData ClearLoaded = dotenv.ClearLoaded DontUpperEnvKey = dotenv.DontUpperEnvKey )
Load and parse .env file data to os ENV.
Usage:
dotenv.Load("./", ".env")
Deprecated: please use github.com/gookit/ini/v2/dotenv
Get ENV value by key
Deprecated: please use github.com/gookit/ini/v2/dotenv
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.