bump github.com/tribalwarshelp/shared | add example
This commit is contained in:
parent
ab815d0e20
commit
06b44e2146
2
go.mod
2
go.mod
|
@ -5,5 +5,5 @@ go 1.14
|
||||||
require (
|
require (
|
||||||
github.com/Kichiyaki/gqlgen-client v0.0.0-20200604145848-274796c104f4
|
github.com/Kichiyaki/gqlgen-client v0.0.0-20200604145848-274796c104f4
|
||||||
github.com/pkg/errors v0.9.1
|
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
2
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-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 h1:DUMz3ROe2nYRszZuu97LVIgdPrt8QBWAVouFlrucL8c=
|
||||||
github.com/tribalwarshelp/shared v0.0.0-20200624134544-636239c5fd17/go.mod h1:tf+2yTHasV6jAF3V2deZ9slNoCyBzC0fMdTjI7clf6Y=
|
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 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 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
|
||||||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
|
|
18
sdk/sdk.go
18
sdk/sdk.go
|
@ -30,9 +30,16 @@ var (
|
||||||
totalVillages
|
totalVillages
|
||||||
points
|
points
|
||||||
rank
|
rank
|
||||||
exist
|
exists
|
||||||
dailyGrowth
|
dailyGrowth
|
||||||
joinedAt
|
joinedAt
|
||||||
|
deletedAt
|
||||||
|
bestRank
|
||||||
|
bestRankAt
|
||||||
|
mostPoints
|
||||||
|
mostPointsAt
|
||||||
|
mostVillages
|
||||||
|
mostVillagesAt
|
||||||
%s
|
%s
|
||||||
`, playerODFields)
|
`, playerODFields)
|
||||||
tribeFields = fmt.Sprintf(`
|
tribeFields = fmt.Sprintf(`
|
||||||
|
@ -44,9 +51,16 @@ var (
|
||||||
points
|
points
|
||||||
allPoints
|
allPoints
|
||||||
rank
|
rank
|
||||||
exist
|
exists
|
||||||
dominance
|
dominance
|
||||||
createdAt
|
createdAt
|
||||||
|
deletedAt
|
||||||
|
bestRank
|
||||||
|
bestRankAt
|
||||||
|
mostPoints
|
||||||
|
mostPointsAt
|
||||||
|
mostVillages
|
||||||
|
mostVillagesAt
|
||||||
%s
|
%s
|
||||||
`, commonODFields)
|
`, commonODFields)
|
||||||
villageFields = `
|
villageFields = `
|
||||||
|
|
Reference in New Issue
Block a user