File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
## Install
9
9
10
+ Storage major version matches [ OAuth 2.0] ( https://github.com/go-oauth2/oauth2 ) major version,
11
+ so use corresponding version (go modules compliant)
12
+
13
+ For ` gopkg.in/oauth2.v3 ` :
14
+
10
15
``` bash
11
- $ go get -u github.com/vgarvardt/go-oauth2-pg
16
+ $ go get -u github.com/vgarvardt/go-oauth2-pg/v3
12
17
```
13
18
14
19
## PostgreSQL drivers
@@ -26,7 +31,7 @@ import (
26
31
" time"
27
32
28
33
" github.com/jackc/pgx/v4"
29
- pg " github.com/vgarvardt/go-oauth2-pg"
34
+ pg " github.com/vgarvardt/go-oauth2-pg/v3 "
30
35
" github.com/vgarvardt/go-pg-adapter/pgx4adapter"
31
36
" gopkg.in/oauth2.v3/manage"
32
37
)
Original file line number Diff line number Diff line change 1
- module github.com/vgarvardt/go-oauth2-pg
1
+ module github.com/vgarvardt/go-oauth2-pg/v3
2
2
3
3
go 1.14
4
4
You can’t perform that action at this time.
0 commit comments