chore: correct typos and align struct field tags (#12)

Fixes typos in package documentation and variable names. Aligns 
struct field tags in examples and tests for better readability.
This commit is contained in:
2025-06-11 03:15:29 +01:00
committed by GitHub
parent 64d24259e3
commit 1b8fb22499
10 changed files with 53 additions and 53 deletions

View File

@@ -105,7 +105,7 @@ func (r *Renderer) Pretty(w io.Writer, format string, v any) error {
}
// NewWith creates a new Renderer with the formats given, if they have handlers
// in the currener Renderer. It essentially allows to restrict a Renderer to a
// in the current Renderer. It essentially allows to restrict a Renderer to a
// only a sub-set of supported formats.
func (r *Renderer) NewWith(formats ...string) *Renderer {
handlers := make(map[string]Handler, len(formats))