refact & update new model
This commit is contained in:
1 parent
c11824f5aa
commit
7fd82b43f4
21 files changed
+1094
-975
No files matched your search
@@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user