package.json equivalent in Golang

Viewed 5839

I am coming over to Go from Node.js and I am used to adding all my modules and then people just have to go npm install when cloning my package.

What is the equivalent of this with Go? I have a few imports and don't want people to have to manually install it if they use my package.

I also not sure if I create a simple Go application with just a package main if that allows people to just go get. I have really picked up on the Go way of repo sharing like Node.js

2 Answers
Related