• Rob Pike's avatar
    cmd/vet: restructure to be package-driven · 48f79a95
    Rob Pike authored
    This is a simple refactoring of main.go that will enable the type checker
    to be used during vetting.
    The change has an unimportant effect on the arguments: it now assumes
    that all files named explicitly on the command line belong to the same
    package. When run by the go command, this was true already.
    
    Also restore a missing parenthesis from an error message.
    
    R=golang-dev, gri, bradfitz
    CC=golang-dev
    https://golang.org/cl/7393052
    48f79a95
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...