MCPcopy Create free account
hub / github.com/alecthomas/devtodo2 / newTaskNode

Function newTaskNode

todo.go:182–188  ·  view source on GitHub ↗
(id int)

Source from the content-addressed store, hash-verified

180}
181
182func newTaskNode(id int) *taskNodeImpl {
183 return &taskNodeImpl{
184 id: id,
185 parent: nil,
186 attributes: make(map[string]string),
187 }
188}
189
190func (t *taskNodeImpl) ID() int {
191 return t.id

Callers 2

newTaskFunction · 0.85
NewTaskListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected