natefinch / lumberjack

lumberjack is a log rolling package for Go
MIT License
4.81k stars 593 forks source link

fix module declaration and remove toml dependency #178

Closed natefinch closed 1 year ago

natefinch commented 1 year ago

This fixes #177 and fixes #176 ... when the module declaration was added, it wasn't added with the gopkg.in format, which is what the official package name has been this whole time... so it broke people. Sorry about that.

While I was in there, I removed the test for toml support... it added a dependency that was totally unnecessary for no real benefit.

piyongcai commented 1 year ago

@natefinch

but when you run go get github.com/natefinch/lumberjack, your go.mod also add

github.com/BurntSushi/toml v1.2.1 // indirect

How to solve this problem?