go
wzb56
never say die! never ever give up!
人活着,你也让别人活!
前半生不犹豫,后半生不后悔!
改变一生的无外乎两种东西:一是你读过的书,一是你遇到的人。
改变命运的无外乎两种东西:一是你读过的书,一是你遇到的人。
展开
-
cmd/go: how to disable (run test) Cached
go test -count=1 more refer: https://github.com/golang/go/issues/24573转载 2018-10-19 23:29:23 · 964 阅读 · 0 评论 -
go 读取整个文件内容到string变量(How can I read a whole file into a string variable)
go 读取整个文件内容到string变量(How can I read a whole file into a string variable)Use ioutil.ReadFile:func ReadFile(filename string) ([]byte, error)ReadFile reads the file named by filename and retur...转载 2018-10-24 00:26:13 · 4997 阅读 · 0 评论