1
0
mirror of https://github.com/alexedwards/scs.git synced 2025-07-11 00:50:14 +02:00

Update dsn in documentation

This commit is contained in:
gandaldf
2021-11-28 15:32:39 +01:00
parent 01057659cf
commit 3fa2cbf6e0
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ var sessionManager *scs.SessionManager
func main() {
// Establish connection to PostgreSQL.
db, err := sql.Open("postgres", "postgres://user:pass@localhost/db")
db, err := sql.Open("postgres", "postgres://username:password@host/dbname")
if err != nil {
log.Fatal(err)
}