Skip to content
This repository was archived by the owner on Oct 12, 2020. It is now read-only.

Unit test gql helpers #30

@Ullaakut

Description

@Ullaakut
  • updateUsers(users []User, response listStargazersResponse, year int) []User
  • getCursors(ctx *context.Context, sg []stargazers, totalUsers uint) []string
  • buildRequestBody(ctx *context.Context, baseRequest string, pagination int) string
  • getCursor(cursors []string, page int, reverseOrder bool) string
  • pickRandomStringsExcept(s []string, picked []string, amount uint) []string
  • isBlacklisted(user string) bool
  • parseResponse(resp *http.Response) (*listStargazersResponse, []byte, error)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions