package httpmw_test import ( "net/http" "code.nochebuena.dev/go/httpmw" ) type complianceLogger struct{} func (c *complianceLogger) Info(msg string, args ...any) {} func (c *complianceLogger) Error(msg string, err error, args ...any) {} func (c *complianceLogger) With(args ...any) httpmw.Logger { return c } // Compile-time check: complianceLogger satisfies httpmw.Logger. var _ httpmw.Logger = (*complianceLogger)(nil) // Compile-time check: StatusRecorder satisfies http.ResponseWriter. var _ http.ResponseWriter = (*httpmw.StatusRecorder)(nil)