From 72c757b7a44dc5d19d821f7c2fa36bb082e4f2e3 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Mon, 17 Apr 2023 13:28:47 +0200 Subject: Save rtree with go 1.20 --- internal/rtree/init.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'internal/rtree/init.go') diff --git a/internal/rtree/init.go b/internal/rtree/init.go index 569f042..7121af9 100644 --- a/internal/rtree/init.go +++ b/internal/rtree/init.go @@ -27,29 +27,29 @@ import ( "github.com/majewsky/gofu/internal/cli" ) -//RemoteAlias describes an alias that can be used in a Git remote URL (as -//defined by the "url..insteadOf" directive in man:git-config(1)). +// RemoteAlias describes an alias that can be used in a Git remote URL (as +// defined by the "url..insteadOf" directive in man:git-config(1)). type RemoteAlias struct { Alias string Replacement string } -//IndexPath is where the index file is stored. +// IndexPath is where the index file is stored. var IndexPath string -//RootPath is the directory below which all repositories are located. Its value -//is $GOPATH/src to match the repository layout created by `go get`. +// RootPath is the directory below which all repositories are located. Its value +// is $GOPATH/src to match the repository layout created by `go get`. var RootPath string -//RemoteAliases is the list of remote aliases that is used by ExpandRemoteURL(). +// RemoteAliases is the list of remote aliases that is used by ExpandRemoteURL(). var RemoteAliases []*RemoteAlias -//Init initializes the global variables of this package to their standard -//values, unless they are already populated. Unit tests shall set IndexPath, -//RootPath etc. before calling Exec(), such that this function becomes a no-op -//when called by Exec(). +// Init initializes the global variables of this package to their standard +// values, unless they are already populated. Unit tests shall set IndexPath, +// RootPath etc. before calling Exec(), such that this function becomes a no-op +// when called by Exec(). // -//Returns false if initialization failed. +// Returns false if initialization failed. func Init() bool { ok := true //until shown otherwise -- cgit v1.3.1