diff --git a/scripts/gen/tuple.tpl b/scripts/gen/tuple.tpl index 3d3f079..988b869 100644 --- a/scripts/gen/tuple.tpl +++ b/scripts/gen/tuple.tpl @@ -2,7 +2,7 @@ package tuple import ( "fmt" - "constraints" + "golang.org/x/exp/constraints" ) {{/* $typeRef can be used when the context of dot changes. */}} diff --git a/tuple1.go b/tuple1.go index 10ed147..64ebbec 100644 --- a/tuple1.go +++ b/tuple1.go @@ -1,8 +1,8 @@ package tuple import ( - "constraints" "fmt" + "golang.org/x/exp/constraints" ) // T1 is a tuple type holding 1 generic values. diff --git a/tuple2.go b/tuple2.go index ad064e2..d333996 100644 --- a/tuple2.go +++ b/tuple2.go @@ -1,8 +1,8 @@ package tuple import ( - "constraints" "fmt" + "golang.org/x/exp/constraints" ) // T2 is a tuple type holding 2 generic values. diff --git a/tuple3.go b/tuple3.go index 03d0823..dcedbcc 100644 --- a/tuple3.go +++ b/tuple3.go @@ -1,8 +1,8 @@ package tuple import ( - "constraints" "fmt" + "golang.org/x/exp/constraints" ) // T3 is a tuple type holding 3 generic values. diff --git a/tuple4.go b/tuple4.go index e0455c0..82d0ae7 100644 --- a/tuple4.go +++ b/tuple4.go @@ -1,8 +1,8 @@ package tuple import ( - "constraints" "fmt" + "golang.org/x/exp/constraints" ) // T4 is a tuple type holding 4 generic values. diff --git a/tuple5.go b/tuple5.go index b27e060..5535e59 100644 --- a/tuple5.go +++ b/tuple5.go @@ -1,8 +1,8 @@ package tuple import ( - "constraints" "fmt" + "golang.org/x/exp/constraints" ) // T5 is a tuple type holding 5 generic values. diff --git a/tuple6.go b/tuple6.go index e1ddf31..3638f9c 100644 --- a/tuple6.go +++ b/tuple6.go @@ -1,8 +1,8 @@ package tuple import ( - "constraints" "fmt" + "golang.org/x/exp/constraints" ) // T6 is a tuple type holding 6 generic values. diff --git a/tuple7.go b/tuple7.go index 6e66de8..6e9dcb4 100644 --- a/tuple7.go +++ b/tuple7.go @@ -1,8 +1,8 @@ package tuple import ( - "constraints" "fmt" + "golang.org/x/exp/constraints" ) // T7 is a tuple type holding 7 generic values. diff --git a/tuple8.go b/tuple8.go index f568c6c..cddeb38 100644 --- a/tuple8.go +++ b/tuple8.go @@ -1,8 +1,8 @@ package tuple import ( - "constraints" "fmt" + "golang.org/x/exp/constraints" ) // T8 is a tuple type holding 8 generic values. diff --git a/tuple9.go b/tuple9.go index 0f50c82..cb972cd 100644 --- a/tuple9.go +++ b/tuple9.go @@ -1,8 +1,8 @@ package tuple import ( - "constraints" "fmt" + "golang.org/x/exp/constraints" ) // T9 is a tuple type holding 9 generic values.