Building golang tool with dependency in private repo

So, the way I was planning on doing it wasn’t working out, but then I found this reply on another post, and it works beautifully.