MCPcopy Create free account
hub / github.com/coderabbit214/document-ai / Success

Function Success

pkg/common/result.go:15–17  ·  view source on GitHub ↗

Success 成功

(data interface{})

Source from the content-addressed store, hash-verified

13
14// Success 成功
15func Success(data interface{}) Result {
16 return Result{SUCCESS, "success", data}
17}
18
19// Error 错误
20func Error(msg string) Result {

Callers 3

chatFunction · 0.92
updateByJsonFunction · 0.92
HealthyFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected