On Mon, Mar 10, 2025 at 2:54 AM Patrick <std...@gmail.com> wrote: > > > > > go-contrib-init has a -repo option. In this case you should run > > "go-contrib-init -repo=tools". > > > Thank you, Ian. > > This gives me (with -repo=text) > > $ go-contrib-init -repo=text > The repo you want to work on is currently not on your system. > Run "go get -d golang.org/x/text" to obtain this repo > then go to the directory "/Users/patrick/go/src/golang.org/x/text" > > following the text gives me > > $ go get -d golang.org/x/text > go: -d flag is deprecated. -d=true is a no-op > go: go.mod file not found in current directory or any parent directory. > 'go get' is no longer supported outside a module. > To build and install a command, use 'go install' with a version, > like 'go install example.com/cmd@latest' > For more information, see https://golang.org/doc/go-get-install-deprecation > or run 'go help get' or 'go help install'. > > > So I don't know how to proceed. IMO the error message for the problem I had > in the first message should include the possibility to change the repo and > the second error message seems misleading. > > Meanwhile I have created a pull-request without go-contrib.
Sorry about the difficulties. Would you be willing to open an issue about this at https://go.dev/issue? Thanks. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWqzoaw%3DXZWsB3B21NDKfaxoFLVs_n8m9FG0BwS%3D6byXQ%40mail.gmail.com.