MCPcopy Create free account
hub / github.com/nsf/gocode / pack_build_context

Function pack_build_context

utils.go:266–279  ·  view source on GitHub ↗
(ctx *build.Context)

Source from the content-addressed store, hash-verified

264}
265
266func pack_build_context(ctx *build.Context) go_build_context {
267 return go_build_context{
268 GOARCH: ctx.GOARCH,
269 GOOS: ctx.GOOS,
270 GOROOT: ctx.GOROOT,
271 GOPATH: ctx.GOPATH,
272 CgoEnabled: ctx.CgoEnabled,
273 UseAllFiles: ctx.UseAllFiles,
274 Compiler: ctx.Compiler,
275 BuildTags: ctx.BuildTags,
276 ReleaseTags: ctx.ReleaseTags,
277 InstallSuffix: ctx.InstallSuffix,
278 }
279}
280
281func unpack_build_context(ctx *go_build_context) package_lookup_context {
282 return package_lookup_context{

Callers 1

cmd_auto_completeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected