Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeSnippet ¶
type Language ¶
type Language struct {
// contains filtered or unexported fields
}
func NewProgrammingLanguage ¶
func (Language) DisplayName ¶
func (Language) TemplateName ¶
func (Language) TestExtension ¶
func (Language) TestTemplate ¶
type Problem ¶
type Problem struct {
ID string
Title string
Slug string
DirName string
Content string
Code string
Difficulty string
FunctionName string
Testcases []string
Status string
LastAttempted string
Language Language
DirectoryPath Path
FileSet []ProblemFile // Solution, Test, Readme
}
func (*Problem) SolutionExists ¶
func (*Problem) SolutionPath ¶
type ProblemFile ¶
type ProblemFile struct {
Type FileType //solution
Path Path //katas/ts/two_sum.ts
Language Language // Typescript
}
func NewProblemFileSet ¶
func NewProblemFileSet(baseName string, lang Language, directory Path) []ProblemFile
Click to show internal directories.
Click to hide internal directories.