From c5a5cb7afd25ac3732d5adba0796bd143be4037d Mon Sep 17 00:00:00 2001 From: tttppp Date: Wed, 28 Feb 2024 18:06:33 +0000 Subject: [PATCH] Add Gateway West beta variant. --- go.mod | 2 +- go.sum | 4 ++-- variants/variants.go | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 8de2408..06908f9 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ require ( github.com/zond/enmime v0.6.1 github.com/zond/go-fcm v0.1.0 github.com/zond/goaeoas v0.1.10 - github.com/zond/godip v0.5.3 + github.com/zond/godip v0.6.0 golang.org/x/crypto v0.1.0 golang.org/x/net v0.7.0 golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d diff --git a/go.sum b/go.sum index 3cfda9c..fb37d51 100644 --- a/go.sum +++ b/go.sum @@ -113,8 +113,8 @@ github.com/zond/go-fcm v0.1.0 h1:RyT5uTjW1TESB3Vw6HfcAMMI6pJ+E2NuR7zPiNmiado= github.com/zond/go-fcm v0.1.0/go.mod h1:R7RptOebtamEGi1Aw9rUpYaugf0UR7Wur0UbtO/07OI= github.com/zond/goaeoas v0.1.10 h1:IjGJRzpw2aVj56j9lEJnk5lhyu4jqBQKucA+26eyXmE= github.com/zond/goaeoas v0.1.10/go.mod h1:PSb4WTE4g+9+oFLuDiEHReuP42A6+dAlIeS7mrB1gxI= -github.com/zond/godip v0.5.3 h1:poX2b7SLIxMOKvB+qJ0aI1s97KI3ACRe/MsBIlo6TyI= -github.com/zond/godip v0.5.3/go.mod h1:wmbPxr4nyQ87BDh3/wiEUCYj2lTTp/OK7p88gRDMjuM= +github.com/zond/godip v0.6.0 h1:w5a2rCpO646L757ddBJsor7mmzCt/26LJ6v6mUeOaDM= +github.com/zond/godip v0.6.0/go.mod h1:wmbPxr4nyQ87BDh3/wiEUCYj2lTTp/OK7p88gRDMjuM= github.com/zond/replace v0.0.0-20180415193355-5a1dc330b27e/go.mod h1:J7mWP0y029F6sVX7sUb472GkhlBSg1u1W2T0yzU/HKg= go.opencensus.io v0.21.0 h1:mU6zScU4U1YAFPHEHYk+3JC4SY7JxgkqS10ZOSyksNg= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= diff --git a/variants/variants.go b/variants/variants.go index c145763..61e0fed 100644 --- a/variants/variants.go +++ b/variants/variants.go @@ -11,13 +11,14 @@ import ( "github.com/zond/goaeoas" "github.com/zond/godip" "github.com/zond/godip/variants" + "github.com/zond/godip/variants/beta/gatewaywest" + "github.com/zond/godip/variants/beta/threekingdoms" "github.com/zond/godip/variants/chaos" "github.com/zond/godip/variants/classicalcrowded" "github.com/zond/godip/variants/empiresandcoalitions" "github.com/zond/godip/variants/europe1939" "github.com/zond/godip/variants/hundred" "github.com/zond/godip/variants/northseawars" - "github.com/zond/godip/variants/beta/threekingdoms" "github.com/zond/godip/variants/twentytwenty" "github.com/zond/godip/variants/westernworld901" "github.com/zond/godip/variants/year1908" @@ -35,7 +36,8 @@ var ( // has at least level 1, the Youngstown Redux entry is just an example. // (And used when testing, by artificially forcing API level 0.) LaunchSchedule = map[string]int{ - threekingdoms.ThreeKingdomsVariant.Name: 8, + gatewaywest.GatewayWestVariant.Name: 8, + threekingdoms.ThreeKingdomsVariant.Name: 8, classicalcrowded.ClassicalCrowdedVariant.Name: 8, year1908.Year1908Variant.Name: 8, empiresandcoalitions.EmpiresAndCoalitionsVariant.Name: 8,