> 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. 


Thank you very much for your answer.


 Patrick

-- 
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/5f7bfe05-8a4e-45bb-b54f-be4168b66e05n%40googlegroups.com.

Reply via email to