Initial work on async functions

This commit is contained in:
Seif Lotfy
2016-09-14 16:11:37 -07:00
committed by Seif Lotfy
parent bf6c4b0a4a
commit b623fc27e4
30 changed files with 1986 additions and 59 deletions

View File

@@ -52,6 +52,7 @@ func handleRouteCreate(c *gin.Context) {
c.JSON(http.StatusInternalServerError, simpleError(models.ErrAppsGet))
return
}
if app == nil {
newapp := &models.App{Name: wroute.Route.AppName}
if err := newapp.Validate(); err != nil {