Skip to content

Commit

Permalink
Update go.mod to 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Flickinger committed Jun 23, 2022
1 parent 9a8acf2 commit 58ae922
Show file tree
Hide file tree
Showing 41 changed files with 953 additions and 11,651 deletions.
14 changes: 11 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
module github.com/FuzzyStatic/blizzard

go 1.16
go 1.18

require (
github.com/go-playground/universal-translator v0.17.0 // indirect
github.com/go-playground/validator v9.31.0+incompatible
golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2
)

require (
github.com/go-playground/locales v0.14.0 // indirect
github.com/go-playground/universal-translator v0.18.0 // indirect
github.com/golang/protobuf v1.4.2 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
google.golang.org/appengine v1.6.6 // indirect
google.golang.org/protobuf v1.25.0 // indirect
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
)
367 changes: 358 additions & 9 deletions go.sum

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion v3/wowgd.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,13 @@ func (c *Client) WoWJournalInstanceMedia(ctx context.Context, journalInstanceID
return dat.(*wowgd.JournalInstanceMedia), header, err
}

// WoWMediaSearch returns media search data.
func (c *Client) WoWMediaSearch(ctx context.Context, tags, orderBy string, page int) (*wowgd.MediaSearch, *Header, error) {
dat, header, err := c.getStructData(ctx, fmt.Sprintf("/data/wow/search/media?tags=%s&orderby=%s&_page=%d&access_token=%s", tags, orderBy, page, c.oauth.Token.AccessToken), c.GetStaticNamespace(), &wowgd.MediaSearch{})
dat, header, err := c.getStructData(ctx,
fmt.Sprintf("/data/wow/search/media?tags=%s&orderby=%s&_page=%d&access_token=%s", tags, orderBy, page, c.oauth.Token.AccessToken),
c.GetStaticNamespace(),
&wowgd.MediaSearch{},
)
return dat.(*wowgd.MediaSearch), header, err
}

Expand Down
4 changes: 2 additions & 2 deletions vendor/github.com/go-playground/locales/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/github.com/go-playground/locales/currency/currency.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vendor/github.com/go-playground/locales/go.mod

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/go-playground/locales/go.sum

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vendor/github.com/go-playground/universal-translator/go.mod

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/github.com/go-playground/universal-translator/go.sum

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 58ae922

Please sign in to comment.