fix(build): for compatibility, use slices from exp.

This commit is contained in:
Alexandre Pujol 2024-03-21 23:19:33 +00:00
parent 5149b55bd0
commit 79a3bb1ea8
Failed to generate hash of commit

View file

@ -6,11 +6,11 @@ package directive
import ( import (
"regexp" "regexp"
"slices"
"strings" "strings"
oss "github.com/roddhjav/apparmor.d/pkg/os" oss "github.com/roddhjav/apparmor.d/pkg/os"
"golang.org/x/exp/maps" "golang.org/x/exp/maps"
"golang.org/x/exp/slices"
) )
type FilterOnly struct { type FilterOnly struct {