We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 820f891 commit 31de00fCopy full SHA for 31de00f
README.md
@@ -1,4 +1,4 @@
1
-# Go 泛型约束
+# Go 泛型类型约束
2
3
# 一、为什么有这个?
4
- Go原生的`golang.org/x/exp/constraints`已经被被官方标记为不推荐,随时可能会移除
go.mod
@@ -1,5 +1,3 @@
module github.com/golang-infrastructure/go-gtypes
go 1.18
-
5
-require golang.org/x/exp v0.0.0-20221126150942-6ab00d035af9 // indirect
go.sum
@@ -1,2 +0,0 @@
-golang.org/x/exp v0.0.0-20221126150942-6ab00d035af9 h1:yZNXmy+j/JpX19vZkVktWqAo7Gny4PBWYYK3zskGpx4=
-golang.org/x/exp v0.0.0-20221126150942-6ab00d035af9/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
0 commit comments