sourceproviders

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLeetcodeProvider

func NewLeetcodeProvider() (*leetcodeProvider, error)

NewLeetcodeProvider returns new instance of leetcode problems provider.

Types

type LeetcodeProblemsResponse

type LeetcodeProblemsResponse struct {
	Pairs []LeetcodeStatPair `json:"stat_status_pairs"`
}

type LeetcodeStat

type LeetcodeStat struct {
	QuestionId        int64  `json:"question_id"`
	QuestionTitle     string `json:"question__title"`
	QuestionTitleSlug string `json:"question__title_slug"`
}

type LeetcodeStatPair

type LeetcodeStatPair struct {
	Stat       LeetcodeStat `json:"stat"`
	Difficulty struct {
		Level int64 `json:"level"`
	} `json:"difficulty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL