We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd06fa9 commit 86664c4Copy full SHA for 86664c4
README.md
@@ -24,8 +24,8 @@ func main() {
24
manager := manage.NewDefaultManager()
25
26
// use postgres token store
27
- store := mysql.NewDefaultStore(
28
- mysql.NewConfig("root:123456@tcp(127.0.0.1:3306)/myapp_test?charset=utf8"),
+ store := postgres.NewDefaultStore(
+ postgres.NewConfig("postgres://postgres:password@localhost/myapp_test?sslmode=disable"),
29
)
30
31
defer store.Close()
0 commit comments