Browse Source

use exp slices for go 1.20 compatibility (#1544)

Bruce MacDonald 1 year ago
parent
commit
1b417a7836
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmd/cmd.go

+ 1 - 1
cmd/cmd.go

@@ -19,7 +19,6 @@ import (
 	"path/filepath"
 	"regexp"
 	"runtime"
-	"slices"
 	"strings"
 	"syscall"
 	"time"
@@ -27,6 +26,7 @@ import (
 	"github.com/olekukonko/tablewriter"
 	"github.com/spf13/cobra"
 	"golang.org/x/crypto/ssh"
+	"golang.org/x/exp/slices"
 	"golang.org/x/term"
 
 	"github.com/jmorganca/ollama/api"