leetcode

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Leetcode added in v0.4.7

type Leetcode struct {
	Config *config.Config
}

func NewLeetcode added in v0.4.7

func NewLeetcode(config *config.Config) *Leetcode

func (*Leetcode) GetMetaByNumber added in v0.4.7

func (l *Leetcode) GetMetaByNumber(number string) (*Meta, error)

func (*Leetcode) GetTags added in v0.4.7

func (l *Leetcode) GetTags() ([]Tag, error)

type Meta

type Meta struct {
	Index        string
	Title        string
	Difficulty   string
	Tags         []string
	Link         string
	Content      string
	Code         string
	CodeSnippets string
}

type Tag

type Tag struct {
	Name           string `json:"name"`
	Slug           string `json:"slug"`
	TranslatedName string `json:"translatedName"`
}

Jump to

Keyboard shortcuts

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