bump github.com/tribalwarshelp/shared | add example

This commit is contained in:
Dawid Wysokiński 2020-06-25 15:10:04 +02:00
parent ab815d0e20
commit 06b44e2146
4 changed files with 19 additions and 3 deletions

2
go.mod
View File

@ -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
)

2
go.sum
View File

@ -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=

View File

@ -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 = `