Update godep in vendor

This commit is contained in:
Christoph Blecker
2018-04-02 12:57:41 -07:00
parent ba71e6307a
commit 0828b19996
21 changed files with 70 additions and 133 deletions

View File

@@ -98,6 +98,9 @@ func rewriteGoFile(name, qual string, paths []string) error {
}
fset = token.NewFileSet()
f, err = parser.ParseFile(fset, name, &buffer, parser.ParseComments)
if err != nil {
return err
}
ast.SortImports(fset, f)
tpath := name + ".temp"
t, err := os.Create(tpath)