From 06b44e214642a66fe9f58c3ae2fba4a065d6f9cb Mon Sep 17 00:00:00 2001 From: Kichiyaki Date: Thu, 25 Jun 2020 15:10:04 +0200 Subject: [PATCH] bump github.com/tribalwarshelp/shared | add example --- main.go => example/main.go | 0 go.mod | 2 +- go.sum | 2 ++ sdk/sdk.go | 18 ++++++++++++++++-- 4 files changed, 19 insertions(+), 3 deletions(-) rename main.go => example/main.go (100%) diff --git a/main.go b/example/main.go similarity index 100% rename from main.go rename to example/main.go diff --git a/go.mod b/go.mod index 7e7254e..749c967 100644 --- a/go.mod +++ b/go.mod @@ -5,5 +5,5 @@ go 1.14 require ( github.com/Kichiyaki/gqlgen-client v0.0.0-20200604145848-274796c104f4 github.com/pkg/errors v0.9.1 - github.com/tribalwarshelp/shared v0.0.0-20200624134544-636239c5fd17 + github.com/tribalwarshelp/shared v0.0.0-20200625120510-6d18ee334662 ) diff --git a/go.sum b/go.sum index b968e9e..40c50e2 100644 --- a/go.sum +++ b/go.sum @@ -29,6 +29,8 @@ github.com/tribalwarshelp/shared v0.0.0-20200623144748-aa834a01dce6 h1:WZ1oxHysF github.com/tribalwarshelp/shared v0.0.0-20200623144748-aa834a01dce6/go.mod h1:tf+2yTHasV6jAF3V2deZ9slNoCyBzC0fMdTjI7clf6Y= github.com/tribalwarshelp/shared v0.0.0-20200624134544-636239c5fd17 h1:DUMz3ROe2nYRszZuu97LVIgdPrt8QBWAVouFlrucL8c= github.com/tribalwarshelp/shared v0.0.0-20200624134544-636239c5fd17/go.mod h1:tf+2yTHasV6jAF3V2deZ9slNoCyBzC0fMdTjI7clf6Y= +github.com/tribalwarshelp/shared v0.0.0-20200625120510-6d18ee334662 h1:GBCpdHQsOrbz7xz+bTsZlFQJzKi1wsxgAeVFsNIZiH4= +github.com/tribalwarshelp/shared v0.0.0-20200625120510-6d18ee334662/go.mod h1:tf+2yTHasV6jAF3V2deZ9slNoCyBzC0fMdTjI7clf6Y= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/sdk/sdk.go b/sdk/sdk.go index 190865b..9ea28f9 100644 --- a/sdk/sdk.go +++ b/sdk/sdk.go @@ -30,9 +30,16 @@ var ( totalVillages points rank - exist + exists dailyGrowth joinedAt + deletedAt + bestRank + bestRankAt + mostPoints + mostPointsAt + mostVillages + mostVillagesAt %s `, playerODFields) tribeFields = fmt.Sprintf(` @@ -44,9 +51,16 @@ var ( points allPoints rank - exist + exists dominance createdAt + deletedAt + bestRank + bestRankAt + mostPoints + mostPointsAt + mostVillages + mostVillagesAt %s `, commonODFields) villageFields = `