List only go files

This commit is contained in:
Fedor Korotkiy 2020-02-13 23:57:12 +03:00
parent 555c710de0
commit ffd0ea8700

View file

@ -32,9 +32,9 @@ func getPackageFiles(rootPackage string, buildFlags []string) map[string]struct{
for _, f := range p.GoFiles { for _, f := range p.GoFiles {
files[f] = struct{}{} files[f] = struct{}{}
} }
for _, f := range p.OtherFiles { //for _, f := range p.OtherFiles {
files[f] = struct{}{} // files[f] = struct{}{}
} //}
} }
return files return files