On Wed, Jun 26, 2019 at 7:17 PM Chou Yan <yan.chou.str...@gmail.com> wrote:
> I use: > r:=rand.New(rand.NewSource(time.Now().Unix())) > r..Intn(96) > That isn't valid Go. Which `rand` package? The one in package `crypto` or `math`? What the heck is `r..Intn(96)`? Please post a minimal, complete, example that compiles and runs at https://play.golang.org. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD_MqXZ%2BGmzpgWw_V2qysCWjMryu8M7oyCM%2BMLyeY5jZJQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.