Details
-
Task
-
Resolution: Unresolved
-
Minor
-
Morpheus
-
None
-
1
Description
What's the issue?
The 'envvar' library is useful, but it could be more powerful. As an example, we could have a function such as:
func GetOrDefault[T any](fn func(varName string) (T, error), def T) (T, error)
|