- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for insertImportPath (0.18 sec)
-
src/go/types/generate_test.go
panic("invalid import path") } m.rename(&n.Path.Value) return false } return true }) } // insertImportPath inserts the given import path. // There must be at least one import declaration present already. func insertImportPath(f *ast.File, path string) { for _, d := range f.Decls { if g, _ := d.(*ast.GenDecl); g != nil && g.Tok == token.IMPORT {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0)