package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Aug 12, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Dotenv Generator
This helper will recreate .env
file by prompting question in terminal
Tag |
Description |
envconfig |
Create .env key field |
prompt |
Prompt question on terminal and save answer as value |
default |
Use this value if prompt not answered |
secret |
If true , the input will not be displayed on the terminal |
comment |
Add comment before this field |
Example
Open example folder and run:
go run example.go
Documentation
¶
generate .env file from struct envconfig tags
Source Files
¶
Directories
¶
example
|
|
|
|
|
|
|
|
Package mock_dotenvgenerator is a generated GoMock package.
|
Package mock_dotenvgenerator is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.