haproxy.conf文件操作(基于函数方式) def frend_msg(): frendmsg_dict = {} prefix_opt = {"select":"查询","add":"添加","modify":"修改","delete":"删除"} frendmsg_dict["frend"] ="\033[33;1m亲!!你当前输 Other 2023-08-28 48 点赞 0 评论 72 浏览
Go基础之Switch package mainimport ( "fmt" "math/rand" "time")func Switch_One() { rand.Seed(time.Now().Unix()) num := rand.Intn(100) //Switch后无条件表达式时相当于多个if else //注意此时不能再跟num switch { case num > 90: Go 2023-08-07 66 点赞 1 评论 100 浏览