1
0
mirror of https://github.com/minio/mc.git synced 2025-11-19 09:42:25 +03:00

lint: Fix new detected lint complaints (#5080)

This commit is contained in:
Anis Eleuch
2024-11-13 14:46:18 +01:00
committed by GitHub
parent 6ac18619cf
commit 63eb4a4609
4 changed files with 15 additions and 22 deletions

View File

@@ -73,13 +73,6 @@ func UTCNow() time.Time {
return time.Now().UTC()
}
func max(a, b int) int {
if a > b {
return a
}
return b
}
// randString generates random names and prepends them with a known prefix.
func randString(n int, src rand.Source, prefix string) string {
if n == 0 {