in pkg/api/postservice_api.go [69:75]
func handleError(c *gin.Context, err error, status int) bool { if err != nil { c.AbortWithStatusJSON(status, gin.H{"error": err.Error()}) return true } return false }