Update dependencies, move to non-experimental slices package

This commit is contained in:
comp500
2025-08-10 20:48:20 +01:00
parent a0d66150df
commit a9e091eae8
16 changed files with 137 additions and 60 deletions

View File

@@ -4,14 +4,15 @@ import (
"archive/zip"
"encoding/json"
"fmt"
"github.com/packwiz/packwiz/cmdshared"
"github.com/spf13/viper"
"golang.org/x/exp/slices"
"net/url"
"os"
"slices"
"sort"
"strconv"
"github.com/packwiz/packwiz/cmdshared"
"github.com/spf13/viper"
"github.com/packwiz/packwiz/core"
"github.com/spf13/cobra"
)

View File

@@ -1,16 +1,17 @@
package modrinth
import (
modrinthApi "codeberg.org/jmansfield/go-modrinth/modrinth"
"errors"
"fmt"
"github.com/packwiz/packwiz/cmdshared"
"github.com/spf13/viper"
"golang.org/x/exp/slices"
"os"
"path/filepath"
"slices"
"strings"
modrinthApi "codeberg.org/jmansfield/go-modrinth/modrinth"
"github.com/packwiz/packwiz/cmdshared"
"github.com/spf13/viper"
"github.com/packwiz/packwiz/core"
"github.com/spf13/cobra"
"gopkg.in/dixonwille/wmenu.v4"

View File

@@ -1,19 +1,20 @@
package modrinth
import (
modrinthApi "codeberg.org/jmansfield/go-modrinth/modrinth"
"errors"
"fmt"
"math"
"net/http"
"net/url"
"regexp"
"slices"
modrinthApi "codeberg.org/jmansfield/go-modrinth/modrinth"
"github.com/packwiz/packwiz/cmd"
"github.com/packwiz/packwiz/core"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/unascribed/FlexVer/go/flexver"
"golang.org/x/exp/slices"
"math"
"net/http"
"net/url"
"regexp"
)
var modrinthCmd = &cobra.Command{