This commit is contained in:
wangchuxiao 2022-06-17 11:09:48 +08:00 committed by Xinwei Xiong(cubxxw-openim)
parent 1536d7e259
commit d5c338dee5

View File

@ -255,7 +255,7 @@ func randomEnglishName() string {
} }
func randomPosition() string { func randomPosition() string {
l := []string{"Golang工程师", "前端工程师", "后端工程师", "产品经理", "测试开发工程师", "运维开发工程师"} l := []string{"后端工程师", "前端工程师", "设计师"}
rand.Seed(time.Now().UnixNano()) rand.Seed(time.Now().UnixNano())
index := rand.Intn(len(l) - 1) index := rand.Intn(len(l) - 1)
return l[index] return l[index]