简单的随机数生成,结合时间模块初始化种子package main import ( "fmt" "math/rand" "time" ) func init(){ //以时间作为初始化种子rand.Seed(time.
確定! 回上一頁