Skip to content

Commit

Permalink
cleanup ssome overzealous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob committed Oct 13, 2021
1 parent 9c4a44b commit 88dfc1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions pkg/utils/env/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ import (
"strconv"
)

// WithDefaultString returns the string value of the supplied environ variable or, if not
// present, the supplied default value

// WithDefaultInt returns the int value of the supplied environ variable or, if not present,
// the supplied default value. If the int conversion fails, returns the default
func WithDefaultInt(key string, def int) int {
Expand All @@ -35,6 +32,3 @@ func WithDefaultInt(key string, def int) int {
}
return i
}

// WithDefaultBool returns the boolvalue of the supplied environ variable or, if not present,
// the supplied default value. If the conversion fails, returns the default
4 changes: 1 addition & 3 deletions pkg/utils/functional/functional.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,4 @@ func HasAnyPrefix(s string, prefixes ...string) bool {
}
}
return false
}

// InvertStringMap swaps keys to values and values to keys. All values must be distinct.
}

0 comments on commit 88dfc1c

Please sign in to comment.