chore: use slices from standard library.

This commit is contained in:
Alexandre Pujol 2024-04-12 20:07:05 +01:00
parent 8b68132f0e
commit ea1736083a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
12 changed files with 13 additions and 15 deletions

View file

@ -6,10 +6,10 @@ package builder
import (
"regexp"
"slices"
"strings"
"github.com/roddhjav/apparmor.d/pkg/prebuild/cfg"
"golang.org/x/exp/slices"
)
var (

View file

@ -5,9 +5,8 @@
package builder
import (
"slices"
"testing"
"golang.org/x/exp/slices"
)
func TestBuilder_Apply(t *testing.T) {

View file

@ -5,10 +5,10 @@
package builder
import (
"slices"
"strings"
"github.com/roddhjav/apparmor.d/pkg/prebuild/cfg"
"golang.org/x/exp/slices"
)
type Enforce struct {