mirror of https://github.com/go-gitea/gitea.git
22 lines
669 B
Go
22 lines
669 B
Go
// 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.
|
|
|
|
// Package packagesinternal exposes internal-only fields from go/packages.
|
|
package packagesinternal
|
|
|
|
import (
|
|
"golang.org/x/tools/internal/gocommand"
|
|
)
|
|
|
|
var GetForTest = func(p interface{}) string { return "" }
|
|
|
|
var GetGoCmdRunner = func(config interface{}) *gocommand.Runner { return nil }
|
|
|
|
var SetGoCmdRunner = func(config interface{}, runner *gocommand.Runner) {}
|
|
|
|
var TypecheckCgo int
|
|
|
|
var SetModFlag = func(config interface{}, value string) {}
|
|
var SetModFile = func(config interface{}, value string) {}
|