Skip to content

Commit

Permalink
更新go-redis版本到v7
Browse files Browse the repository at this point in the history
  • Loading branch information
dxvgef committed Feb 13, 2020
1 parent 083af18 commit aafa869
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 36 deletions.
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/dxvgef/sessions

go 1.12
go 1.13

require (
github.com/go-redis/redis v6.15.2+incompatible
github.com/go-redis/redis/v7 v7.0.1
github.com/google/uuid v1.1.1
github.com/onsi/ginkgo v1.8.0 // indirect
github.com/onsi/gomega v1.5.0 // indirect
github.com/onsi/ginkgo v1.12.0 // indirect
github.com/onsi/gomega v1.9.0 // indirect
)
31 changes: 0 additions & 31 deletions go.sum

This file was deleted.

2 changes: 1 addition & 1 deletion session.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"strconv"

"github.com/go-redis/redis"
"github.com/go-redis/redis/v7"
)

// session对象
Expand Down

0 comments on commit aafa869

Please sign in to comment.