diff options
Diffstat (limited to 'modules/util/util.go')
-rw-r--r-- | modules/util/util.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/modules/util/util.go b/modules/util/util.go index cc25539967..c47931f6c9 100644 --- a/modules/util/util.go +++ b/modules/util/util.go @@ -60,22 +60,6 @@ func OptionalBoolParse(s string) OptionalBool { return OptionalBoolOf(b) } -// Max max of two ints -func Max(a, b int) int { - if a < b { - return b - } - return a -} - -// Min min of two ints -func Min(a, b int) int { - if a > b { - return b - } - return a -} - // IsEmptyString checks if the provided string is empty func IsEmptyString(s string) bool { return len(strings.TrimSpace(s)) == 0 |