gliderlabs / gliderlabs/comlab
pkg/com: Must helper for config
Open
- Dominant language
- Go
- Stars
- 16
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
We don't support a way to make Options required, this is up to the user. The pattern becomes check if value is the zero value for the type on app start and error. To encourage this, maybe providing a Must helper that checks for zero value for a given option and returns an error (panic seems a bit strong, but maybe its fine).
Contributor guide
Assessment
This issue has not been assessed yet.