- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AddNamedImport (0.09 sec)
-
src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go
return AddNamedImport(fset, f, "", path) } // AddNamedImport adds the import with the given name and path to the file f, if absent. // If name is not empty, it is used to rename the import. // // For example, calling // // AddNamedImport(fset, f, "pathpkg", "path") // // adds // // import pathpkg "path"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 21:56:21 UTC 2022 - 13.4K bytes - Viewed (0)