From 9b2d64070e46a5243877291624f53a2348837f65 Mon Sep 17 00:00:00 2001 From: zaneli Date: Wed, 28 Nov 2018 11:30:48 +0900 Subject: [PATCH] Fix `NewURLAuth` func name in Godoc --- hawk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hawk.go b/hawk.go index a17d9c0..34a8ea7 100644 --- a/hawk.go +++ b/hawk.go @@ -283,7 +283,7 @@ func NewRequestAuth(req *http.Request, creds *Credentials, tsOffset time.Duratio return auth } -// NewRequestAuth builds a client Auth based on uri and creds. tsOffset will be +// NewURLAuth builds a client Auth based on uri and creds. tsOffset will be // applied to Now when setting the timestamp. func NewURLAuth(uri string, creds *Credentials, tsOffset time.Duration) (*Auth, error) { u, err := url.Parse(uri)