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

Struct Result

pkg/common/result.go:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type Result struct {
9 Code int `json:"code"`
10 Msg string `json:"message"`
11 Data interface{} `json:"data"`
12}
13
14// Success 成功
15func Success(data interface{}) Result {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected