摘要: package main import "time" func main(){ connectTimeout := 10 time.Sleep(time.Second*connectTimeout) } 这样使用会报错 int and time.Duration are different type 阅读全文
posted @ 2020-03-15 00:37 顽强的allin 阅读(6874) 评论(0) 推荐(0) 编辑