Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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 成功
15
func
Success(data
interface
{}) Result {
16
return
Result{SUCCESS,
"success"
, data}
17
}
18
19
// Error 错误
20
func
Error(msg string) Result {
Callers
3
chat
Function · 0.92
updateByJson
Function · 0.92
Healthy
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected