mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-06-23 04:06:34 +00:00

## Summary Update several moving parts of cloudflared build system: * use goboring 1.24.2 in cfsetup * update linter and fix lint issues * update packages namely **quic-go and net** * install script for macos * update docker files to use go 1.24.1 * remove usage of cloudflare-go * pin golang linter Closes TUN-9016
21 lines
748 B
Go
21 lines
748 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
|
|
|
|
var GetDepsErrors = func(p any) []*PackageError { return nil }
|
|
|
|
type PackageError struct {
|
|
ImportStack []string // shortest path from package named on command line to this one
|
|
Pos string // position of error (if present, file:line:col)
|
|
Err string // the error itself
|
|
}
|
|
|
|
var TypecheckCgo int
|
|
var DepsErrors int // must be set as a LoadMode to call GetDepsErrors
|
|
|
|
var SetModFlag = func(config any, value string) {}
|
|
var SetModFile = func(config any, value string) {}
|