This commit is contained in:
chrislu 2023-10-01 11:36:27 -07:00
parent b02fdeabff
commit 321fda552c

View file

@ -81,7 +81,7 @@ func RetryUntil(name string, job func() error, onErrFn func(err error) (shouldCo
}
}
// return the first non empty string
// Nvl return the first non-empty string
func Nvl(values ...string) string {
for _, s := range values {
if s != "" {