2021-01-28 17:56:38 +01:00
|
|
|
// Copyright 2020 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2020-04-03 21:29:12 +02:00
|
|
|
// Package packagesinternal exposes internal-only fields from go/packages.
|
|
|
|
package packagesinternal
|
|
|
|
|
2020-08-15 19:13:07 +02:00
|
|
|
import (
|
|
|
|
"golang.org/x/tools/internal/gocommand"
|
|
|
|
)
|
2020-04-03 21:29:12 +02:00
|
|
|
|
|
|
|
var GetForTest = func(p interface{}) string { return "" }
|
|
|
|
|
2020-08-15 19:13:07 +02:00
|
|
|
var GetGoCmdRunner = func(config interface{}) *gocommand.Runner { return nil }
|
|
|
|
|
|
|
|
var SetGoCmdRunner = func(config interface{}, runner *gocommand.Runner) {}
|
|
|
|
|
|
|
|
var TypecheckCgo int
|
2020-12-12 01:16:53 +01:00
|
|
|
|
|
|
|
var SetModFlag = func(config interface{}, value string) {}
|
|
|
|
var SetModFile = func(config interface{}, value string) {}
|