From d9b66eb7a9a9135462e490e46244dcd1b71c7293 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Sun, 15 Mar 2026 16:27:56 +0100 Subject: docs(info): usage in readme --- human.go | 1 + 1 file changed, 1 insertion(+) (limited to 'human.go') diff --git a/human.go b/human.go index e2ac134..796d970 100644 --- a/human.go +++ b/human.go @@ -23,6 +23,7 @@ var ( // URL represents a standard [url.URL] following normalization rules of human.json. type URL url.URL +// NewURL creates a new [URL]. func NewURL(s string) (*URL, error) { raw, err := url.Parse(s) if err != nil { -- cgit v1.2.3