4
0
Fork 0

library changed syntax slightly, breaking build. Changed to update

This commit is contained in:
Michael Wilding 2018-06-11 10:48:44 -07:00
parent d7822dc2ac
commit a58d1eb4e4

View file

@ -11,6 +11,7 @@ import (
log "github.com/Sirupsen/logrus"
haikunator "github.com/atrox/haikunatorgo"
"github.com/gin-contrib/sessions"
"github.com/gin-contrib/sessions/cookie"
"github.com/gin-gonic/gin"
cache "github.com/hashicorp/golang-lru"
"github.com/msoedov/hacker-slides/auth"
@ -27,7 +28,7 @@ func NewApp() *gin.Engine {
r := gin.Default()
store := sessions.NewCookieStore([]byte("secret"))
store := cookie.NewStore([]byte("secret"))
arc, err := cache.NewARC(10)
if err != nil {
log.Fatalf("Failied to allocate cache %#v", err)