Golang 错误 "bad file descriptor"

os.OpenFile(filename, os.O_APPEND|os.O_WRONLY, 0666)

参考文献:

https://stackoverflow.com/questions/33851692/golang-bad-file-descriptor

原文地址:https://www.cnblogs.com/jhc888007/p/8945104.html