Versions in this module Expand all Collapse all v3 v3.0.2 Nov 12, 2021 Changes in this version + type LeetCodeGraphQlClient struct + func NewLeetCodeGraphQlClient() *LeetCodeGraphQlClient + func (c *LeetCodeGraphQlClient) GetDailyQuestionSlug(ctx context.Context, date time.Time) (string, error) + func (c *LeetCodeGraphQlClient) GetDailyTask(ctx context.Context, date time.Time) (LeetCodeTask, error) + func (c *LeetCodeGraphQlClient) GetQuestionDetailsByTitleSlug(ctx context.Context, titleSlug string) (LeetCodeTask, error) + type LeetCodeTask struct + Content string + Difficulty string + Hints []string + QuestionID uint64 + Title string + TitleSlug string + type LeetcodeClient interface + GetDailyQuestionSlug func(context.Context, time.Time) (string, error) + GetDailyTask func(context.Context, time.Time) (LeetCodeTask, error) + GetQuestionDetailsByTitleSlug func(context.Context, string) (LeetCodeTask, error) + type LeetcodeDate time.Time + func (j *LeetcodeDate) UnmarshalJSON(b []byte) error Other modules containing this package github.com/dartkron/leetcodeBot/v2