Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetProblemsResponse ¶
type GetProblemsResponse struct {
Problems []SingleProblemResponse `json:"problems"`
}
type GetProblemsSerializer ¶
type GetProblemsSerializer struct {
Problems []Problem
}
func (GetProblemsSerializer) Response ¶
func (s GetProblemsSerializer) Response() GetProblemsResponse
type ProblemController ¶
type ProblemController struct{}
func (*ProblemController) GetProblems ¶
func (pc *ProblemController) GetProblems(c *gin.Context) (int, interface{})
type ProblemRouter ¶
type ProblemRouter struct {
// contains filtered or unexported fields
}
func (*ProblemRouter) GetProblems ¶
func (r *ProblemRouter) GetProblems(c *gin.Context)
type ProblemStore ¶
type ProblemStore struct {
// contains filtered or unexported fields
}
func NewProblemStore ¶
func NewProblemStore() ProblemStore
func (*ProblemStore) Find ¶
func (s *ProblemStore) Find() ([]Problem, error)
Click to show internal directories.
Click to hide internal directories.