MCPcopy Index your code
hub / github.com/actiontech/dtle / BuildBaseResp

Function BuildBaseResp

api/models/base.go:7–17  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

5}
6
7func BuildBaseResp(err error) BaseResp {
8 if nil == err {
9 return BaseResp{
10 Message: "ok",
11 }
12 } else {
13 return BaseResp{
14 Message: err.Error(),
15 }
16 }
17}

Callers 15

JobListV2Function · 0.92
createOrUpdateJobFunction · 0.92
GetJobDetailFunction · 0.92
getJobDetailFunction · 0.92
CreateOrUpdateSyncJobV2Function · 0.92
PauseJobV2Function · 0.92
ResumeJobV2Function · 0.92
DeleteJobV2Function · 0.92
GetJobPositionV2Function · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected