Consider implementing these functions in terms of https://pkg.go.dev/slices and adding //go:fix inline directives to ease migration away from this package in favor of keeping to the standard library.
If compatibility with older go versions is desired, //go:build directives can be used to use the current implementations in older versions of Go.
Consider implementing these functions in terms of https://pkg.go.dev/slices and adding
//go:fix inlinedirectives to ease migration away from this package in favor of keeping to the standard library.If compatibility with older go versions is desired,
//go:builddirectives can be used to use the current implementations in older versions of Go.