We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e1fb86 + 193c826 commit 44e7035Copy full SHA for 44e7035
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