Skip to content

Commit

Permalink
library changed syntax slightly, breaking build. Changed to update
Browse files Browse the repository at this point in the history
  • Loading branch information
umamiMike committed Jun 11, 2018
1 parent d7822dc commit a58d1eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
Expand Down

0 comments on commit a58d1eb

Please sign in to comment.