godirectory-structure

After go vet occurs named files must all be in one directory;


After using go vet **/*.go occurs named files must all be in one directory; What i need to do to fix it?My project structure looks like.


Solution

  • ./... is the way golang treat a tree recursively. try go vet ./... instead