INNER CODE UNIT · Go
responseSuccessWith
geekjourneyx/md2wechat-skill · cmd/md2wechat/main.go:480
func responseSuccessWith(code, message string, data any) {
responseWith(cliResponse{
Success: true,
Code: code,
Message: message,
SchemaVersion: action.SchemaVersion,
Status: action.StatusCompleted,
Retryable: false,
Data: data,
})
}
func responseActionRequiredWith(code, message string, data any) {
responseWith(cliResponse{
Success: true,
Code: code,
Message: message,
SchemaVersion: action.SchemaVersion,