Skip to content

Commit 5dc62a6

Browse files
committed
update travis
1 parent 20e3677 commit 5dc62a6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: go
22
sudo: false
33
go_import_path: gopkg.in/go-oauth2/mysql.v3
44
go:
5-
- 1.7
5+
- 1.9
66
services:
77
- mysql
88
before_install:

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,21 @@ package main
1515

1616
import (
1717
"gopkg.in/go-oauth2/mysql.v3"
18-
"gopkg.in/oauth2.v3/manage"
19-
20-
_ "github.com/go-sql-driver/mysql"
18+
"gopkg.in/oauth2.v3/manage"
19+
20+
_ "github.com/go-sql-driver/mysql"
2121
)
2222

2323
func main() {
2424
manager := manage.NewDefaultManager()
2525

2626
// use mysql token store
2727
manager.MapTokenStorage(
28-
mysql.NewStore(mysql.NewConfig("root:123456@tcp(127.0.0.1:3306)/myapp_test?charset=utf8") , "", 0),
28+
mysql.NewStore(mysql.NewConfig("root:123456@tcp(127.0.0.1:3306)/myapp_test?charset=utf8"), "", 0),
2929
)
3030
// ...
3131
}
32+
3233
```
3334

3435
## MIT License

0 commit comments

Comments
 (0)