GO-这是创建多输出记录器的正确方法吗?

I needed to write my own lightweight GO multi-output logger for a work project and I've come up with https://github.com/asticode/go-logger.

I'm not here to advertise at all and I'm rather looking for Gopher's opinions (good or bad) on my code and my implementation since I'd like to know whether I've done things right or whether I've gone completely off tracks.

My points of emphasis would be:

  • Have I made good use of interfaces?
  • Have I made good use of const and global vars ?
  • Have I made good use of GO project structure ?
  • Have I made good use of GO unit testing package?
  • ...

I really thank you in advance for the time you'll put in reviewing my project.

Cheers

Quentin