github.com/diamondburned/arikawa/v2@v2.1.0/internal/intmath/math.go (about) 1 package intmath 2 3 // Min returns the smaller of the two passed numbers. 4 func Min(a, b int) int { 5 if a < b { 6 return a 7 } 8 9 return b 10 }