Repository navigation
Releases: ableinc/gohot
Releases · ableinc/gohot
Release list
v1.0.1
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"v1.0.0
gohot version 1.0.0 officially released
- Fixed bug where build flags were being passed to
go runcommand - Fixed bug where
argswhere being passed as command line arguments (naming was confusing) instead of being set as environment variables - Renamed
ArgstoEnvsto better reflect the expectation - All configuration items that can be multiples (Exts, Ignore, etc) are by default string slices, not comma delimited strings
- Add new field called
Cliwhich is used to pass command line arguments to the go binary (this is useful if your program takes arguments)
v0.1.6
v0.1.6 - Changelog
- You can now pass go build flags (Note:
-flagswill be passed to bothgo buildandgo run. You must ensure these commands respect these flags - Bug fixes
- The
gohot.yamlfile will not be loaded when fetchingversionor displaying--helpmenu - gohot would attempt to load the
gohot.yamlwhen using theinitcommand
- The