- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for importerFunc (0.09 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go
} func isUnsafePointer(info *types.Info, e ast.Expr) bool { t := info.Types[e].Type return t != nil && t.Underlying() == types.Typ[types.UnsafePointer] } type importerFunc func(path string) (*types.Package, error) func (f importerFunc) Import(path string) (*types.Package, error) { return f(path) } // TODO(adonovan): make this a library function or method of Info.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
} return results, nil } type result struct { a *analysis.Analyzer diagnostics []analysis.Diagnostic err error } type importerFunc func(path string) (*types.Package, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0)