Config file and/or environment variables #17
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
go
good first issue
help wanted
invalid
question
release
testing
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forquare/zht#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I didn't want to add a config file...But sometimes certain default behaviours are annoying, but maybe still should be default.
For instance:
When I am searching I don't usually want to know the time, and if I do maybe I want the time to be human readable?
Later maybe I want to define my own format...?
I think the default functionality is fine by default, but my cases are changing. So a mechanism needs to be implemented to apply certain behaviours by default - either a config file, or a suite of Environment Variables (or both!) that are checked and alter behaviour.
Possibly everything should be configurable externally, but thoughts:
Consider: https://github.com/spf13/viper