This article is written by the go language tutorial column to introduce to you the solution to the go get pull extension error report. I hope it will be helpful to friends in need!
If your project is on codeup and the project is configured with ssh pull, you want to pull it through go get for your project Sometimes the package will be pulled through https. At this time, you will be prompted that your username and password cannot be read because you have not configured it
could not read Username
git config --global url."git@codeup.aliyun.com:".insteadOf https://codeup.aliyun.com/
#
The above is the detailed content of What should I do if an error occurs when pulling an extension through go get?. For more information, please follow other related articles on the PHP Chinese website!