Commit Graph

12 Commits

Author SHA1 Message Date
Dawid Wysokiński 9516140c0f use make to initialize slices in the repositories 2021-05-06 17:01:22 +02:00
Dawid Wysokiński 6a44193f31 slices - use nil declaration 2021-05-05 19:58:45 +02:00
Dawid Wysokiński 49b407ed23 use errors.New where it is possible instead of fmt.Errorf 2021-05-05 19:49:00 +02:00
Dawid Wysokiński 0a271d1255 bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/map-generator 2021-05-05 19:32:45 +02:00
Dawid Wysokiński 1a63e5fa91 add the 'Select' option to the FetchConfigs 2021-03-21 13:03:39 +01:00
Dawid Wysokiński 2e92d09a2e update api error messages 2021-01-13 20:46:24 +01:00
Dawid Wysokiński 309fe80868 update two error messages in server/version pg repositories 2021-01-13 20:28:24 +01:00
Dawid Wysokiński 3a7f608e14 bump github.com/tribalwarshelp/shared, github.com/tribalwarshelp/map-generator and go-pg 2021-01-06 17:43:02 +01:00
Dawid Wysokiński 05efc69b31 [WIP] - refactor limit, sort, offset
- update the Server/PlayerHistory repository and usecase
2020-11-21 10:50:52 +01:00
Dawid Wysokiński 7d2f75db52 dataloaders_to_context shouldn't cache servers, instead it should fetch only two columns from database: lang_version_tag and key 2020-08-07 10:09:45 +02:00
Dawid Wysokiński 87562c3f4c every date which API returns are in UTC timezone, resolver Player.Servers() is returning now servers from one specific game lang version, refactor 2020-06-24 15:05:31 +02:00
Dawid Wysokiński 3bffcfa0d3 init 2020-06-02 17:45:21 +02:00