aquí está la respuesta
not found: github.com/me/[email protected]: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/ea2baff0eaed39430ee011ad9a011101f13b668d5fcbd9dffdfa1e0a45422b40: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
He intentado añadir un registro en ~/.netrc
con la contraseña de un token de acceso personal de GitHub recién creado y agregue la configuración en ~/.gitconfig
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
Todos estos no están funcionando.
Si desactivo la verificación de sumas por GOSUMDB=off go mod tidy
entonces funciona pero no creo que esto sea correcto para mí.