How can I know what are the missing dependencies in a go project?
Now the only way I know is to run the go build
command and follow the error messages.
But is there any more efficient way to do that such as:
./a.out proj
and the return maybe like:
missing dependencies:
github.com/go-sql-driver/mysql
github.com/foo/bar
....
Does go build
support this function?