go-template icon indicating copy to clipboard operation
go-template copied to clipboard

Migrate to slog

Open MarvinJWendt opened this issue 1 year ago • 0 comments

We currently use zap in internal/log. Since Go v1.21 slog was introduced to the Go stdlib, and it aims to replace all external logging libraries. We should adapt the template and remove the internal/log package, as the users do not need it anymore (and should prefer to use slog).

Up for discussion

We can discuss if we want to initialize slog in the template, or if we want to let the user do that.

MarvinJWendt avatar Oct 27 '23 12:10 MarvinJWendt