(ctx *gin.Context, code int, err error)
| 3 | import "github.com/gin-gonic/gin" |
| 4 | |
| 5 | func successOrAbort(ctx *gin.Context, code int, err error) (success bool) { |
| 6 | if err != nil { |
| 7 | ctx.AbortWithError(code, err) |
| 8 | } |
| 9 | return err == nil |
| 10 | } |
no outgoing calls
searching dependent graphs…