-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core -> filex-> file.go -> firstLine has error #4217
Comments
The problem actually exist. Emprt content cause infinite loop in Firstline read, and raise panic in Lastline. I thing empty file should return "". Maybe I can try to fix this. 问题确实存在。空内容导致 Firstline 读取时出现无限循环,Lastline 读取时出现 panic。我认为空文件应该返回 ""。也许我可以尝试修复这个问题。 报错信息: goroutine 6 [running]: |
fixed by #4258 |
发现两个问题:
firstline 下面这样怎么样
The text was updated successfully, but these errors were encountered: