Documentation ¶
Index ¶
- Constants
- func ConfigureDotEnv(dir string, config setup.SetupConfig) error
- func ConfirmDotEnvOverwrite() bool
- func CopyEnvFile(dir string, overwrite bool) error
- func CreateDotEnvFileAndLoad(dir string) error
- func GenerateNewAppKey(dir string) error
- func ReloadDotEnv(dir string) error
- func SetEnvVar(content []byte, key, value string) (newcontent []byte, appends bool)
- func SetKeyInEnvironmentFile(dir, key, value string) error
- func SetupDBDriver(dir string, config setup.SetupConfig) error
- func SetupDotEnvFile(dir string, config setup.SetupConfig) error
Constants ¶
View Source
const DotEnvExample = ".env.example"
View Source
const DotEnvFile = ".env"
Variables ¶
This section is empty.
Functions ¶
func ConfigureDotEnv ¶
func ConfigureDotEnv(dir string, config setup.SetupConfig) error
func ConfirmDotEnvOverwrite ¶
func ConfirmDotEnvOverwrite() bool
func CopyEnvFile ¶
func CreateDotEnvFileAndLoad ¶
func GenerateNewAppKey ¶
func ReloadDotEnv ¶
func SetKeyInEnvironmentFile ¶
func SetupDBDriver ¶
func SetupDBDriver(dir string, config setup.SetupConfig) error
func SetupDotEnvFile ¶
func SetupDotEnvFile(dir string, config setup.SetupConfig) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.