Documentation
¶
Index ¶
- Variables
- func AccountsLogin(username, password string) (*http.Response, error)
- func AutoLogin() (*http.Response, error)
- func Clean()
- func GetDescription(articleSlug string) string
- func GetQuestionTranslation() (qt questionTranslationType)
- func GetTopicTag(slug string) (tt topicTagType)
- func ProblemsAlgorithms() (ps problemsType)
- func ProblemsAll() (ps problemsType)
- func ProblemsDatabase() (ps problemsType)
- func ProblemsShell() (ps problemsType)
- func QuestionData(titleSlug string, isForce bool, graphQL ...string) (qd questionDataType)
- type StatStatusPairsType
- type TagType
Constants ¶
This section is empty.
Variables ¶
View Source
var (
LockStr = " 🔒"
)
Functions ¶
func GetDescription ¶
func GetQuestionTranslation ¶
func GetQuestionTranslation() (qt questionTranslationType)
func GetTopicTag ¶
func GetTopicTag(slug string) (tt topicTagType)
func ProblemsAlgorithms ¶
func ProblemsAlgorithms() (ps problemsType)
func ProblemsAll ¶
func ProblemsAll() (ps problemsType)
func ProblemsDatabase ¶
func ProblemsDatabase() (ps problemsType)
func ProblemsShell ¶
func ProblemsShell() (ps problemsType)
func QuestionData ¶
Types ¶
type StatStatusPairsType ¶ added in v1.4.0
type StatStatusPairsType struct { Stat statType `json:"stat"` Status string `json:"status"` Difficulty difficultyType `json:"difficulty"` PaidOnly paidType `json:"paid_only"` IsFavor bool `json:"is_favor"` Frequency int `json:"frequency"` Progress int `json:"progress"` }
func (*StatStatusPairsType) WriteRow ¶ added in v1.4.0
func (problem *StatStatusPairsType) WriteRow(buf *bytes.Buffer)
type TagType ¶ added in v1.4.0
func (*TagType) SaveContents ¶ added in v1.4.0
func (tag *TagType) SaveContents()
Click to show internal directories.
Click to hide internal directories.