From fa24620c50a56ae6c3c31575e861098d0f0ed177 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Mon, 29 Sep 2025 21:48:35 +0200 Subject: run `modernize -fix ./...` Also drop util/gocovcat.go which has been obsolete since 122068efd4a348921b736b4456d4e1c999dbfb79. --- internal/rtree/remote.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/rtree/remote.go') diff --git a/internal/rtree/remote.go b/internal/rtree/remote.go index 3d443aa..a8d5564 100644 --- a/internal/rtree/remote.go +++ b/internal/rtree/remote.go @@ -102,13 +102,13 @@ func (u RemoteURL) CheckoutPath() (string, error) { } // MarshalYAML implements the yaml.Marshaler interface. -func (u RemoteURL) MarshalYAML() (interface{}, error) { +func (u RemoteURL) MarshalYAML() (any, error) { //store URLs in the index in the canonical format return u.CanonicalURL(), nil } // UnmarshalYAML implements the yaml.Unmarshaler interface. -func (u *RemoteURL) UnmarshalYAML(unmarshal func(interface{}) error) error { +func (u *RemoteURL) UnmarshalYAML(unmarshal func(any) error) error { var s string err := unmarshal(&s) if err == nil { -- cgit v1.3.1