This commit is contained in:
Stéphane Depierrepont aka Toorop 2016-09-26 16:24:27 +02:00
parent 584f90a544
commit d50fca494f
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ import (
"github.com/gin-gonic/gin"
log := logrus.New()
// hooks, config,...
r := gin.New()
r.Use(ginlogrus.Logger(log), gin.Recovery())