北城已荒凉
2012-11-22 13:52
采纳率: 0%
浏览 337

如何将整个文件读入字符串变量

I have lots of small files, I don't want to read them line by line.

Is there a function in Go that will read a whole file into a string variable?

转载于:https://stackoverflow.com/questions/13514184/how-can-i-read-a-whole-file-into-a-string-variable

4条回答 默认 最新

相关推荐 更多相似问题