Maybe this is not the answer for the problem, just want to share about do 'go get-ing' a private repo, first you should do a configuration
Here is the reference : https://stackoverflow.com/questions/27500861/whats-the-proper-way-to-go-get-a-private-repository On Tue, Sep 24, 2019, 11:11 PM <erich.r...@gmail.com> wrote: > Hi! This is perhaps more a question about git than Go but must have > something to do with go get, too. I tried to fork gotk3 from github on the > web page (using Fork button), because I need to merge some important 3rd > party pull requests and the maintainer is no longer active. > > However, after creating a fresh fork and without making any changes, if I > add the repo into an import statement, go get -u fails with the message: > cannot load github.com/rasteric/gotk3/gtk: zip: not a valid zip file > > My fork is at github.com/rasteric/gotk3, the project using it is private. > > How is that possible? Shouldn't a fresh fork work exactly like the > original? Does anyone have an idea what's going wrong? > > If I cannot merge those pull requests (for copy&paste in a TextView), I > can basically scrap the results of half a year of work and say good-bye to > GTK. It is very frustrating, so I appreciate very much any help. > > -- > 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 on the web visit > https://groups.google.com/d/msgid/golang-nuts/1e8e88ba-4d25-4705-bbc0-bbc221c89236%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/1e8e88ba-4d25-4705-bbc0-bbc221c89236%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2Bp%2BMUd7G3shyETak%2B2BCxCkXfuwvGBdwhJPYDHh54_TFj6SAA%40mail.gmail.com.