def create_go_cmd(self, cmd, gopath=None, args=None):
    return self.GoCommand._create(self.goroot, cmd, gopath=gopath, args=args)
Creates a Go command that is optionally targeted to a Go workspace.
dataset/ETHPy150Open pantsbuild/pants/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py/GoDistribution.create_go_cmd