MCPcopy Create free account
hub / github.com/53AI/53AIHub / Delete

Method Delete

api/model/like.go:81–83  ·  view source on GitHub ↗

Delete 软删除(更新状态为取消)

()

Source from the content-addressed store, hash-verified

79
80// Delete 软删除(更新状态为取消)
81func (l *Like) Delete() error {
82 return l.UpdateStatus(LikeStatusCancel)
83}
84
85// HardDelete 硬删除记录
86func (l *Like) HardDelete() error {

Callers

nothing calls this directly

Calls 1

UpdateStatusMethod · 0.95

Tested by

no test coverage detected