mod=example.com/patherrors base=none dir=yaml success=false -- want -- go.mod: go directive is missing gopkg.in/yaml.v2: module path starts with gopkg.in and must be declared in the root directory of the repository -- .mod -- module example.com/patherrors -- .git/HEAD -- -- yaml/go.mod -- module gopkg.in/yaml.v2