Created by: linzhp
This PR fixes #1701 (closed)
Known issue:
srcs=['.']
will crash on go_binary
rules but not on go_library
. The crash happens before GoCompile.getBuildSteps
gets called. Temporary workaround is to use srcs=glob(["*.go"])
. The filtering still works.