Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PATH_FILES = "../../domain/usecase/templates/%s.tmpl"
)
Functions ¶
This section is empty.
Types ¶
type GenerateQuestionFile ¶
type GenerateQuestionFile struct {
// contains filtered or unexported fields
}
func NewGenerateQuestionFile ¶
func NewGenerateQuestionFile(q *entity.Question, path string, w service.FileWriter, ig service.ImageDownloader) *GenerateQuestionFile
func (*GenerateQuestionFile) Execute ¶
func (uc *GenerateQuestionFile) Execute() error
type GenerateSolutionFile ¶
type GenerateSolutionFile struct {
// contains filtered or unexported fields
}
func NewGenerateSolutionFile ¶
func NewGenerateSolutionFile(q *entity.Question, w service.FileWriter, fileName string, path string, boilerplate string, lang string, template string) *GenerateSolutionFile
func (*GenerateSolutionFile) Execute ¶
func (uc *GenerateSolutionFile) Execute() error
type GetProblem ¶
type GetProblem struct {
// contains filtered or unexported fields
}
func NewGetDailyChallenge ¶
func NewGetDailyChallenge(scrapper repo.Problem) *GetProblem
func NewGetProblemByName ¶
func NewGetProblemByName(scrapper repo.Problem, name string) *GetProblem
func NewGetProblemByNumber ¶
func NewGetProblemByNumber(scrapper repo.Problem, num int) *GetProblem
func NewGetProblemByUrl ¶
func NewGetProblemByUrl(scrapper repo.Problem, url string) *GetProblem
Click to show internal directories.
Click to hide internal directories.