Closed tonglil closed 8 years ago
Need to use named literals since there are non-exported fields in the struct.
Ref: http://blog.tquadrado.com/2014/go-struct-initialization-with-named-literals/
Thank you, for the update. I had written the README example before there were unexported fields in the struct.
No problem, it works great (including without creating a new instance of the logger)! Thank you.
Need to use named literals since there are non-exported fields in the struct.
Ref: http://blog.tquadrado.com/2014/go-struct-initialization-with-named-literals/