go - Check if a package will build -


how can determine if package build, without installing it, running tests, or generating binary?

there's mention using go build more 1 package tests if build. how can single package?

go build

for package main, binary generated go build. can dump in tmp directory os clean later.

go build -o /tmp/oswilldeleteme

unfortunately, can not pipe output of go build null device. see issue: https://github.com/golang/go/issues/4851


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

Maven Javadoc 'Cannot find default setter' and fails -