Static Analysis tests
John Meinel
john at arbash-meinel.com
Tue May 3 02:43:53 UTC 2016
>
> We should investigate using go/build.Context.UseAllFiles to ignore the
build tags. As long as there are no "//+build ignore" files lurking, and as
long as we're not trying to do type-checking, that should be fine.
>
I'm curious how this works. As often we use build flags to create a
different version of a function for different platforms. (Eg for lxd we had
a few functions that had real implementations with a "+build go1.3" flag
and then stubs that returned false with the !go1.3 flag.) I believe we did
the same thing for windows/osx support on some of the version code)
John
=:->
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160503/181309c6/attachment-0001.html>
More information about the Juju-dev
mailing list