We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf1ffbd commit 5eb4f58Copy full SHA for 5eb4f58
1 file changed
MyMusicBoxApi/models/http.go
@@ -25,6 +25,7 @@ func ErrorResponse(data any) ApiResponseModel {
25
Message: "An error occurred",
26
}
27
28
+
29
func OkResponse(data any, message string) ApiResponseModel {
30
return ApiResponseModel{
31
Data: data,
0 commit comments