We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71f003c commit 5ec60c2Copy full SHA for 5ec60c2
dsn.go
@@ -29,9 +29,9 @@ var (
29
// Config is a configuration parsed from a DSN string
30
type Config struct {
31
User string // Username
32
- Passwd string // Password
+ Passwd string // Password, requires User
33
Net string // Network type
34
- Addr string // Network address
+ Addr string // Network address, requires Net
35
DBName string // Database name
36
Params map[string]string // Connection parameters
37
Collation string // Connection collation
0 commit comments