1426919587

Results 5 issues of 1426919587

在win上 go run main.go -env pro 可以运行 在cmd上报错 start go_build_yunhai.exe -env pro Start-Process : 找不到与参数名称“env”匹配的参数。 所在位置 行:1 字符: 27 + start go_build_yunhai.exe -env pro + ~~~~ + CategoryInfo : InvalidArgument:...

viper.WatchConfig() viper.OnConfigChange(func(e fsnotify.Event) { //写数据 if err := viper.Unmarshal(config); err != nil { panic(err) } }) } func Get() Config { //读数据 return *config }

![Image](https://github.com/user-attachments/assets/ea84e103-2191-4d15-939a-a8629c55e959) 一直不明白qps为什么还要*总协程数,successNum不是包括所有协程产生的数量了吗

![Image](https://github.com/user-attachments/assets/b7ddfbb9-85d2-4720-8171-2871a8552dce) ![Image](https://github.com/user-attachments/assets/1a871dd4-04ac-4928-9b69-c250f96f64ca)