package zgin import "github.com/gin-gonic/gin" func New() *gin.Engine { return gin.New() } func Default() *gin.Engine { return gin.Default() } func Ok(c *gin.Context, obj any) { c.JSON(200, obj) } func Err(c *gin.Context, err error) { c.JSON(400, err.Error()) }