Not So Random
package main
import "fmt"
import "math/rand"
func main() {
stuff := []string{
"one",
"two",
"three",
"four",
}
fmt.Println(stuff[rand.Intn(len(stuff))])
}threerand.Seed(time.Now().UTC().UnixNano())PreviousBuild For A Specific OS And ArchitectureNextReplace The Current Process With An External Command
Last updated