]> Cypherpunks repositories - gostls13.git/commit
constraints: new package
authorIan Lance Taylor <iant@golang.org>
Mon, 13 Sep 2021 22:40:11 +0000 (15:40 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 24 Sep 2021 00:39:31 +0000 (00:39 +0000)
commit4dd5f0994f2e2079582876db4af1cba95fe3b6c2
treed13c45bf32cd6e4bfe0b8abf7aec1cdd22d21186
parentc90ead97ad7542437079462e0b70ff7b3f8e7811
constraints: new package

The constraint packages defined a set of useful constraints to be used
with type parameters.

Fixes #45458

Change-Id: Id4f4e6c55debb90e6b10ea0dbe2319be1e888746
Reviewed-on: https://go-review.googlesource.com/c/go/+/349709
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/constraints/constraints.go [new file with mode: 0644]
src/constraints/constraints_test.go [new file with mode: 0644]
src/go/build/deps_test.go