rand.Intn always returns "1"

Call time.Now().UnixNano() to get an int64

1 Like