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

Function unpack_build_context

utils.go:281–296  ·  view source on GitHub ↗
(ctx *go_build_context)

Source from the content-addressed store, hash-verified

279}
280
281func unpack_build_context(ctx *go_build_context) package_lookup_context {
282 return package_lookup_context{
283 Context: build.Context{
284 GOARCH: ctx.GOARCH,
285 GOOS: ctx.GOOS,
286 GOROOT: ctx.GOROOT,
287 GOPATH: ctx.GOPATH,
288 CgoEnabled: ctx.CgoEnabled,
289 UseAllFiles: ctx.UseAllFiles,
290 Compiler: ctx.Compiler,
291 BuildTags: ctx.BuildTags,
292 ReleaseTags: ctx.ReleaseTags,
293 InstallSuffix: ctx.InstallSuffix,
294 },
295 }
296}

Callers 1

server_auto_completeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected