I am very new at Go, and need a bit of help with a way to make import pathing more distributable between my team.
Currently at the top of one of my Go files, I have an import, say "github.teamName.com/teamMemberA/HeartThrob/c"
I forked his project to my own name and downloaded it and got some pretty obvious import errors.
MY path to the file it is trying to import is the following: "github.teamName.com/myName/HeartThrob/c"
This pathing change is because I am pulling the project from my own forked repo.
What is a way I can go about fixing this? Is relative pathing possible? I can't put all the Go files into the same directory due to the size of the project and some obvious places for separation.
Disclaimer: New to Go AND Git (My forked approach is team-mandated though)
Assuming that GOPATH contains a single element, do this:
An alternative approach is:
Hack a way and push to fork.