Closed vc60er closed 11 months ago
For me it is working and looks like this:
go install github.com/vc60er/deptree@latest
go: downloading github.com/vc60er/deptree v0.0.0-20230516030844-a8afffff4b06
What is your response from the call?
The response like this. install github.com/vc60er/deptree@latest go: github.com/vc60er/deptree@latest: no matching versions for query "latest"
But I found the issue: I have set a variable in my bash, it cuase go install response no matching versions for query "latest" export GOPROXY="https://pkgs.d.example.net/artifactory/api/go/go-virtual,https://goproxy.cn,direct"
Than we should close this PR without merging, because using @latest is more common.
BTW: do you consider renaming the branch from master to e.g. main? See this post : https://github.com/github/renaming
@gen2thomas Thank you for your reminder, I think we should change default branch to main. I have done this.
If you have a local clone, you can update it by running the following commands, thank you.
git branch -m master main git fetch origin git branch -u origin/main main git remote set-head origin -a
fix: no matching versions for query "latest"