diff options
author | Nigel Tao <nigeltao@golang.org> | 2015-02-17 13:36:22 +1100 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2015-02-17 02:58:17 +0000 |
commit | 10d7cacb911f0ca07f31beebe5e019da2c2b393f (patch) | |
tree | cda05bd15c8a22d2d6121b2c585acac9ae622598 | |
parent | 753a094e8ab3f6e567ce75c7feebea04917a137f (diff) | |
download | tools-10d7cacb911f0ca07f31beebe5e019da2c2b393f.tar.gz |
cmd/vet: add color.CMYK to the whitelist of frozen structs.
Change-Id: I5164ef9a998a0807f80668b9140eac4b2f889049
Reviewed-on: https://go-review.googlesource.com/4997
Reviewed-by: David Symonds <dsymonds@golang.org>
-rw-r--r-- | cmd/vet/whitelist/whitelist.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/vet/whitelist/whitelist.go b/cmd/vet/whitelist/whitelist.go index 9bf40ee..d6f0dce 100644 --- a/cmd/vet/whitelist/whitelist.go +++ b/cmd/vet/whitelist/whitelist.go @@ -39,6 +39,7 @@ 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, |