MCPcopy Create free account
hub / github.com/beego/samples / Save

Method Save

todo/models/task.go:35–50  ·  view source on GitHub ↗

Save saves the given Task in the TaskManager.

(task *Task)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

TestSaveTaskAndRetrieveFunction · 0.95
TestSaveTwiceAndRetrieveFunction · 0.95
TestSaveAndFindFunction · 0.95
NewTaskMethod · 0.80
UpdateTaskMethod · 0.80

Calls 1

cloneTaskFunction · 0.85

Tested by 5

TestSaveTaskAndRetrieveFunction · 0.76
TestSaveTwiceAndRetrieveFunction · 0.76
TestSaveAndFindFunction · 0.76