Join GitHub today
cmd/go: go get in module mode does not initialize git submodules #26716
Please answer these questions before submitting your issue. Thanks!
What did you do?
If possible, provide a recipe for reproducing the error.
What did you expect to see?
Successful completion of the command.
What did you see instead?
Does this issue reproduce with the latest release (go1.10.3)?
No. Go 1.10.3 correctly initializes the git submodule, as does go1.11beta2 when not using go.mod.
As a side note, this fails with a different error message if you capitalize my GitHub username in the import path:
I assume this is because cgo doesn't like