- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for DeleteImport (0.09 sec)
-
src/cmd/fix/import_test.go
return func(f *ast.File) bool { if imports(f, path) { deleteImport(f, path) return true } return false } } func addDelImportFn(p1 string, p2 string) func(*ast.File) bool { return func(f *ast.File) bool { fixed := false if !imports(f, p1) { addImport(f, p1) fixed = true } if imports(f, p2) { deleteImport(f, p2) fixed = true } return fixed } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:34:33 UTC 2016 - 5K bytes - Viewed (0)