style: address linter complaints
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M internal/config/config.go → internal/config/config.go
@@ -21,7 +21,7 @@ *url.URL } func (u *URL) MarshalText() ([]byte, error) { - return []byte(u.URL.String()), nil + return []byte(u.String()), nil } func (u *URL) UnmarshalText(text []byte) (err error) {@@ -49,7 +49,7 @@ time.Duration } func (d *Duration) MarshalText() ([]byte, error) { - return []byte(d.Duration.String()), nil + return []byte(d.String()), nil } func (d *Duration) UnmarshalText(text []byte) (err error) {