github.com/xaionaro-go/rand@v0.0.0-20191005105903-aba1befc54a5/mathrand/utils.go (about)

     1  package mathrand
     2  
     3  func min(a, b int) int {
     4  	if a < b {
     5  		return a
     6  	}
     7  	return b
     8  }