Descriptioncmd/vet: restructure to be package-driven
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.
Patch Set 1 #
Total comments: 14
Patch Set 2 : diff -r 91778e3920ae https://code.google.com/p/go #
Total comments: 1
Patch Set 3 : diff -r 91778e3920ae https://code.google.com/p/go #
MessagesTotal messages: 7
|