some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / internal / testenv / testenv_112.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/internal/testenv/testenv_112.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/internal/testenv/testenv_112.go
deleted file mode 100644 (file)
index b25846c..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2019 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.
-
-// +build go1.12
-
-package testenv
-
-import "runtime/debug"
-
-func packageMainIsDevelModule() bool {
-       info, ok := debug.ReadBuildInfo()
-       if !ok {
-               // Most test binaries currently lack build info, but this should become more
-               // permissive once https://golang.org/issue/33976 is fixed.
-               return true
-       }
-
-       // Note: info.Main.Version describes the version of the module containing
-       // package main, not the version of “the main module”.
-       // See https://golang.org/issue/33975.
-       return info.Main.Version == "(devel)"
-}
-
-func init() {
-       packageMainIsDevel = packageMainIsDevelModule
-}