Upgrade gin-gonic to latest master, fix compatibility issues

This commit is contained in:
Andrey Smirnov committed 2017-09-28 00:33:59 +03:00
1 parent ff8e4a8659
commit 3756db2491
282 files changed
+71223 -3157

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ import (
func apiPackagesShow(c *gin.Context) {
p, err := context.CollectionFactory().PackageCollection().ByKey([]byte(c.Params.ByName("key")))
if err != nil {
c.Fail(404, err)
c.AbortWithError(404, err)
return
}