How to "go get" from private repo via https
The 2nd way in the following comment.
cmd/go: github private repos require special configuration · Issue #26134 · golang/go · GitHub
$ cd ~ $ touch .netrc $ chmod 600 .netrc $ vim .netrc machine github.com login YOUR_NAME password YOUR_API_TOKEN