Skip to content

Commit 39d12ee

Browse files
committed
ociregistry: drop internal/exp
Now that cuelang.org/go requires Go 1.21 or later, we can also drop support for Go 1.20 in the oci repository. The slices package can be replaced directly by std now. The maps package is not as simple, as the Keys API was delayed until iterators were stabilized, so for now, copy one function, which is significantly easier and smaller too. Signed-off-by: Daniel Martí <[email protected]> Change-Id: Id7fc6d63c7b44f5ee5e86184d60b247c7c24852c Reviewed-on: https://review.gerrithub.io/c/cue-labs/oci/+/1183479 TryBot-Result: CUE porcuepine <[email protected]> Reviewed-by: Roger Peppe <[email protected]>
1 parent a4fb8bf commit 39d12ee

File tree

11 files changed

+13
-1847
lines changed

11 files changed

+13
-1847
lines changed

ociregistry/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module cuelabs.dev/go/oci/ociregistry
22

3-
go 1.20
3+
go 1.21
44

55
require (
66
github.com/go-quicktest/qt v1.100.0

ociregistry/internal/exp/constraints/constraints.go

Lines changed: 0 additions & 50 deletions
This file was deleted.

ociregistry/internal/exp/maps/maps.go

Lines changed: 0 additions & 94 deletions
This file was deleted.

ociregistry/internal/exp/slices/cmp.go

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)