You could just use the go/types package to typecheck the result instead of compiling it, depending on exactly what you want to check that may be enough.
On Fri, Dec 15, 2017 at 8:37 AM Tamás Gulácsi <tgulacs...@gmail.com> wrote: > When you invoke "go test", it compiles a test binary and calls that. > Why can't you just repeat that? > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.