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

Method UpdateTask

todo/controllers/task.go:80–101  ·  view source on GitHub ↗

Example: req: PUT /task/1 {"ID": 1, "Title": "Learn Go", "Done": true} res: 200 req: PUT /task/2 {"ID": 2, "Title": "Learn Go", "Done": true} res: 400 inconsistent task IDs

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

FindMethod · 0.80
SaveMethod · 0.80

Tested by

no test coverage detected