From 39ccb282cacf94b9f63214e0f13aee650e823963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Mon, 2 Feb 2026 13:32:36 +0400 Subject: [PATCH] Fix baseurl comments on AppendPath and WithPath MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- pkg/baseurl/baseurl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/baseurl/baseurl.go b/pkg/baseurl/baseurl.go index ae6b2ea4f..1154f8379 100644 --- a/pkg/baseurl/baseurl.go +++ b/pkg/baseurl/baseurl.go @@ -116,7 +116,7 @@ type URLBuilder struct { } // WithPath returns a URLBuilder with the specified path. -// The path will be properly joined with the base URL's path. +// The path will be properly joined with the base URL. func (b *BaseURL) WithPath(path string) *URLBuilder { if b == nil { return &URLBuilder{err: fmt.Errorf("base URL is nil")} @@ -137,7 +137,7 @@ func (b *BaseURL) WithPath(path string) *URLBuilder { } } -// WithPath returns a URLBuilder with the specified path. +// AppendPath returns a URLBuilder with the specified path. // The path will be properly joined with the base URL's path. func (b *BaseURL) AppendPath(path string) *URLBuilder { if b == nil {