INNER CODE UNIT · Go

responseSuccess

geekjourneyx/md2wechat-skill · cmd/md2wechat/main.go:476

func responseSuccess(data any) {
	responseSuccessWith(codeOK, "Success", data)
}

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{

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…