Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 945 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 945 Bytes

envgen

codebeat badge Go Report Card Go Doc Release

Utility to parse golang env structures into .env files.

Getting started

  1. Download swag by using:
go install github.com/Batyachelly/envgen/cmd/envgen@latest
  1. Run envgen in the project's root folder which contains a config files.
envgen -target=example/config.go -structs=Config,AnotherConfig1,AnotherConfig2 -output_dir example/generated