声明 func RandomInt(min int, max int) int go 参数 输入 名称 类型 描述 最小值 Int 随机范围左区间,有可能随机到填入的值 最大值 Int 随机范围右区间,不会随机到填入的值 返回 类型 描述 Int 随机结果,整数