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

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -