Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { // for code snippet Solution // for unit test UnitTest Data *api.QuestionData }
Data 用于渲染模板文件的数据
func NewData ¶
func NewData(data *api.QuestionData) Data
type Solution ¶
func NewSolution ¶
func NewSolution(q *api.QuestionData) Solution
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
func NewTemplate ¶
Click to show internal directories.
Click to hide internal directories.