From 455e885a2cf30afa0de31956d0041f84ca731a99 Mon Sep 17 00:00:00 2001 From: Alex Savin Date: Tue, 20 May 2025 16:13:43 -0400 Subject: [PATCH] Updated to the new API version (g2v30) --- consts.go | 2 +- example/go.mod | 32 +++++++++++++------------------- 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/consts.go b/consts.go index e027cd3..559f923 100644 --- a/consts.go +++ b/consts.go @@ -1,7 +1,7 @@ package mysubaru // Lastest version /g2v27 -var MOBILE_API_VERSION = "/g2v28" +var MOBILE_API_VERSION = "/g2v30" var MOBILE_API_SERVER = map[string]string{ "USA": "https://mobileapi.prod.subarucs.com", diff --git a/example/go.mod b/example/go.mod index 854cdf1..37bc7af 100644 --- a/example/go.mod +++ b/example/go.mod @@ -2,30 +2,24 @@ module example go 1.24 -require git.savin.nyc/alex/mysubaru v0.0.0-20231207172256-23b354b0f2c1 +require git.savin.nyc/alex/mysubaru v0.0.0-20250520200227-71e00595ca48 require ( github.com/Jeffail/gabs/v2 v2.7.0 // indirect - github.com/fsnotify/fsnotify v1.7.0 // indirect - github.com/go-resty/resty/v2 v2.10.0 // indirect - github.com/hashicorp/hcl v1.0.0 // indirect - github.com/magiconair/properties v1.8.7 // indirect - github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/pelletier/go-toml/v2 v2.1.0 // indirect - github.com/sagikazarmark/locafero v0.4.0 // indirect - github.com/sagikazarmark/slog-shim v0.1.0 // indirect - github.com/sirupsen/logrus v1.9.3 // indirect + github.com/fsnotify/fsnotify v1.9.0 // indirect + github.com/go-resty/resty/v2 v2.16.5 // indirect + github.com/go-viper/mapstructure/v2 v2.2.1 // indirect + github.com/pelletier/go-toml/v2 v2.2.4 // indirect + github.com/sagikazarmark/locafero v0.9.0 // indirect github.com/sourcegraph/conc v0.3.0 // indirect - github.com/spf13/afero v1.11.0 // indirect - github.com/spf13/cast v1.6.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect - github.com/spf13/viper v1.18.0 // indirect + github.com/spf13/afero v1.14.0 // indirect + github.com/spf13/cast v1.8.0 // indirect + github.com/spf13/pflag v1.0.6 // indirect + github.com/spf13/viper v1.20.1 // indirect github.com/subosito/gotenv v1.6.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb // indirect - golang.org/x/net v0.19.0 // indirect - golang.org/x/sys v0.15.0 // indirect - golang.org/x/text v0.14.0 // indirect - gopkg.in/ini.v1 v1.67.0 // indirect + golang.org/x/net v0.40.0 // indirect + golang.org/x/sys v0.33.0 // indirect + golang.org/x/text v0.25.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect )