Repository navigation
What's New in v1.0.1
🎉 New Features
Environment File Support
- Added
--env_file/--envflag to load environment variables from a.envfile - Supports standard
.envformat withKEY=VALUEsyntax - Environment variables from file are loaded first, CLI
--envsflags can override them - Validates that the specified env file exists before starting
📝 Configuration
Added new configuration option in gohot.yaml:
env_file: .env📚 Documentation
- Updated README for the new
env_fileoption - Added usage examples showing both CLI and config file usage
🛠️ Developer Experience
- Added comprehensive Makefile with targets for:
- Building (dev, production, cross-platform)
- Testing (unit tests, coverage, benchmarks)
- Code quality (fmt, vet, lint)
- Maintenance (clean, deps, version)
- Development (run, watch with hot-reload)
- Run
make helpfor all available commands
Usage Example:
# Load environment variables from .env file
gohot --env_file .env
# Or use the short alias
gohot --env .env
# Combine with other options
gohot --env .env --envs "DEBUG=true"