refact & update new model

This commit is contained in:
Sakurasan committed 2024-09-13 21:32:10 +08:00
1 parent c11824f5aa
commit 7fd82b43f4
21 files changed
+1094 -975

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package error
import "github.com/gin-gonic/gin"
func ErrorData(message string) gin.H {
return gin.H{
"error": gin.H{
"message": message,
},
}
}