Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Answer ¶
type Answer struct { Analysis AnswerElement Basic AnswerElement Intermediate AnswerElement Advanced AnswerElement }
type AnswerElement ¶
type CaseStatus ¶
type CaseStatus uint8
const ( // UnknownStatus 未知 UnknownStatus CaseStatus = 0 // UnPublishedStatus 未发布 UnPublishedStatus CaseStatus = 1 // PublishedStatus 发布 PublishedStatus CaseStatus = 2 )
func (CaseStatus) ToUint8 ¶
func (s CaseStatus) ToUint8() uint8
type QuestionSet ¶
type QuestionStatus ¶
type QuestionStatus uint8
func (QuestionStatus) ToUint8 ¶
func (s QuestionStatus) ToUint8() uint8
type SearchResult ¶
type SearchResult struct { Cases []Case Questions []Question Skills []Skill QuestionSet []QuestionSet // contains filtered or unexported fields }
func (*SearchResult) SetCases ¶
func (s *SearchResult) SetCases(cases []Case)
func (*SearchResult) SetQuestionSet ¶
func (s *SearchResult) SetQuestionSet(qs []QuestionSet)
func (*SearchResult) SetQuestions ¶
func (s *SearchResult) SetQuestions(qs []Question)
func (*SearchResult) SetSkills ¶
func (s *SearchResult) SetSkills(skills []Skill)
type Skill ¶
type Skill struct { ID int64 Labels []string Name string Desc string Basic SkillLevel Intermediate SkillLevel Advanced SkillLevel Ctime time.Time Utime time.Time }
Click to show internal directories.
Click to hide internal directories.