I am new for Go, and I am working on the project which need importing internal library. I can use go get to import it, and it works very well. So I noticed that running go get, it will import the master branch. However, I have a special case, that I need to import a dev branch instead of master branch. After doing some research, I tried go get libraryUrl@branchName, and it does not work for me. Any idea how to do it? Here is my go mod info
module projectName
go 1.15
require(
github.com/satori/go.uuid v1.2.0
internal libraryURL v0.01
)
Thank you for the help. And let me know if you need more info.