mirror of
https://github.com/packwiz/packwiz.git
synced 2026-02-19 19:00:37 +01:00
* Put modloader version data in struct for legibility * Create modloader map from list This is a minor change, but it prevents any errors with the keys not being equal to the modloader's Name field * Less anonymous functions in modloader version retrieval With previous code, almost everything was lazy and returned a function. Changed this to only have anonymous function in the modloader definitions, and the rest of the functions all just execute their results immediately instead or returning a function. Makes for a bit more legible code. * Simplify FetchMavenVersionFiltered * Rewrite version retrieval * Use Errorf in versionutil * Remove httpclient parameter turned out not to be needed * Add testing for version retrieval * Explain fetchMavenWithFilterMap
57 lines
2.0 KiB
Modula-2
57 lines
2.0 KiB
Modula-2
module github.com/packwiz/packwiz
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.5.0
|
|
github.com/Masterminds/semver/v3 v3.4.0
|
|
github.com/VividCortex/ewma v1.2.0 // indirect
|
|
github.com/aviddiviner/go-murmur v0.0.0-20150519214947-b9740d71e571
|
|
github.com/daviddengcn/go-colortext v1.0.0 // indirect
|
|
github.com/dlclark/regexp2 v1.11.5
|
|
github.com/fatih/camelcase v1.0.0
|
|
github.com/igorsobreira/titlecase v0.0.0-20140109233139-4156b5b858ac
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
|
|
github.com/sahilm/fuzzy v0.1.1
|
|
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
|
|
github.com/spf13/cobra v1.9.1
|
|
github.com/spf13/viper v1.20.1
|
|
github.com/vbauerster/mpb/v4 v4.12.2
|
|
golang.org/x/crypto v0.41.0 // indirect
|
|
golang.org/x/sys v0.35.0
|
|
golang.org/x/term v0.34.0 // indirect
|
|
golang.org/x/text v0.28.0 // indirect
|
|
gopkg.in/dixonwille/wlog.v2 v2.0.0 // indirect
|
|
gopkg.in/dixonwille/wmenu.v4 v4.0.2
|
|
)
|
|
|
|
require (
|
|
codeberg.org/jmansfield/go-modrinth v0.6.0
|
|
github.com/spf13/pflag v1.0.7
|
|
github.com/unascribed/FlexVer/go/flexver v1.0.0
|
|
)
|
|
|
|
require (
|
|
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
|
|
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
|
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/jarcoal/httpmock v1.4.1
|
|
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
|
|
github.com/sagikazarmark/locafero v0.7.0 // indirect
|
|
github.com/sourcegraph/conc v0.3.0 // indirect
|
|
github.com/spf13/afero v1.14.0 // indirect
|
|
github.com/spf13/cast v1.9.2 // indirect
|
|
github.com/subosito/gotenv v1.6.0 // indirect
|
|
go.uber.org/atomic v1.9.0 // indirect
|
|
go.uber.org/multierr v1.9.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|
|
|
|
go 1.23.0
|
|
|
|
toolchain go1.24.6
|