diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2025-09-29 21:48:35 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2025-09-29 21:48:35 +0200 |
| commit | fa24620c50a56ae6c3c31575e861098d0f0ed177 (patch) | |
| tree | e6963f607605577ca06dfeff666e5a186bb2b15f /internal/rtree/remote.go | |
| parent | 24762f09de2aa8cada3f3c63afa313e06ebf47c8 (diff) | |
| download | gofu-fa24620c50a56ae6c3c31575e861098d0f0ed177.tar.gz | |
run `modernize -fix ./...`
Also drop util/gocovcat.go which has been obsolete since
122068efd4a348921b736b4456d4e1c999dbfb79.
Diffstat (limited to 'internal/rtree/remote.go')
| -rw-r--r-- | internal/rtree/remote.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
