Refactor config::get_config() #8
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?
We don't want to query all the config environment variables every time a piece of code needs one config value.
My first thought was to memoize
get_config()but if we instead load the config on startup thenget_conifig()doesn't need to be fallible.