some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / go / analysis / passes / composite / whitelist.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/go/analysis/passes/composite/whitelist.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/go/analysis/passes/composite/whitelist.go
deleted file mode 100644 (file)
index 1e5f5fd..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2013 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 composite
-
-// unkeyedLiteral is a white list of types in the standard packages
-// that are used with unkeyed literals we deem to be acceptable.
-var unkeyedLiteral = map[string]bool{
-       // These image and image/color struct types are frozen. We will never add fields to them.
-       "image/color.Alpha16": true,
-       "image/color.Alpha":   true,
-       "image/color.CMYK":    true,
-       "image/color.Gray16":  true,
-       "image/color.Gray":    true,
-       "image/color.NRGBA64": true,
-       "image/color.NRGBA":   true,
-       "image/color.NYCbCrA": true,
-       "image/color.RGBA64":  true,
-       "image/color.RGBA":    true,
-       "image/color.YCbCr":   true,
-       "image.Point":         true,
-       "image.Rectangle":     true,
-       "image.Uniform":       true,
-
-       "unicode.Range16": true,
-       "unicode.Range32": true,
-
-       // These three structs are used in generated test main files,
-       // but the generator can be trusted.
-       "testing.InternalBenchmark": true,
-       "testing.InternalExample":   true,
-       "testing.InternalTest":      true,
-}