Skip to content

Commit 206c373

Browse files
committed
test in go 1.8.x
1 parent 735823f commit 206c373

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ language: go
33
go:
44
- 1.7
55
- 1.8
6+
- 1.8.1
7+
- 1.8.2
8+
- 1.8.3
69
before_install:
710
- go get -t -v ./...
811
- go get github.com/mattn/goveralls

memorystore.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ import (
44
"crypto/rand"
55
"crypto/sha256"
66
"encoding/hex"
7+
"io"
78
"sync"
89
"time"
910

10-
"io"
11-
1211
"github.com/go-http-utils/cookie"
1312
)
1413

memorystore_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"net/http/httptest"
88
"sync"
99
"testing"
10-
1110
"time"
1211

1312
"github.com/go-http-utils/cookie"

sessions.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import (
77
"github.com/go-http-utils/cookie"
88
)
99

10+
// Version is this package's version
11+
const Version = "1.0.0"
12+
1013
// Store is an interface for custom session stores.
1114
type Store interface {
1215
// Load should load data from cookie and store, set it into session instance.

0 commit comments

Comments
 (0)