go-gorm / go-gorm/postgres

how to add a timeout args in DSN? What's the expression?

Open
#163 0 comments 3 reactions 1 assignee Claimed by @jinzhu View on GitHub
type:question
Dominant language
Go
Stars
297
Forks
155
Avg merge
27m
Merged PRs (30d)
2

Description

## how to add a timeout args in DSN? What's the expression?

## when use postgres.Open(DSN) i want set a connect timeout args in DSN . But how do I spell this DSN ?
I use timeout=10s ,seems it doesn't work.

## Expected answer

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.