config.go should not depend on any libraries #107
Labels
No Label
admins only
bug
design
duplicate
gimme feedback
good first issue
hmmmm
invalid
reference
wontfix
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hmn/hmn#107
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Our config.go requires you to import a couple libraries in order to provide log levels and such. This has proven to be a problem, because changing dependency versions sometimes causes config files to break. (Your individual config.go file is excluded from git, after all.) I think we should remove the need for third-party libraries from config.go so that we can avoid this friction in the future.
I realize that in some cases this comes at a small complexity or UX cost (nobody likes looking up docs to see what magic strings mean what), but I think we can mitigate it by just shipping our own enums in the config package.