import (
"crypto/rand"
"fmt"
"testing"
)
// 1、保持
// 2、光刻机
// 3、西安other
func Test_select(t *testing.T) {
options := make([]byte, 1)
_, err := rand.Read(options)
if err != nil {
t.Fatalf("rand.Read error: %+v", err)
}
fmt.Println((options[0] % 3) + 1)
}
Test_select
于 2023-10-11 16:39:38 首次发布