Source File
tasklist.go
Belonging Package
github.com/yuin/goldmark/extension/ast
package astimport (gast)// A TaskCheckBox struct represents a checkbox of a task list.type TaskCheckBox struct {gast.BaseInlineIsChecked bool}// Dump implements Node.Dump.func ( *TaskCheckBox) ( []byte, int) {:= map[string]string{"Checked": fmt.Sprintf("%v", .IsChecked),}gast.DumpHelper(, , , , nil)}// KindTaskCheckBox is a NodeKind of the TaskCheckBox node.var KindTaskCheckBox = gast.NewNodeKind("TaskCheckBox")// Kind implements Node.Kind.func ( *TaskCheckBox) () gast.NodeKind {return KindTaskCheckBox}// NewTaskCheckBox returns a new TaskCheckBox node.func ( bool) *TaskCheckBox {return &TaskCheckBox{IsChecked: ,}}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |