Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #43 from umamiMike/master
Browse files Browse the repository at this point in the history
library changed syntax slightly, breaking build.  Changed to update
  • Loading branch information
msoedov authored Jun 11, 2018
2 parents d7822dc + a58d1eb commit aa5d3db
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 aa5d3db

Please sign in to comment.