When I try to run the demo in the README.md, I found a little mistake. If I replace ```defer lf.Close()``` with ``` defer func() { if err := lf.Close(); err != nil { panic(err) } } ``` I will get err msg like this: ``` file already be closed ```!
When I try to run the demo in the README.md, I found a little mistake.
If I replace
defer lf.Close()withI will get err msg like this:
file already be closed!