Skip to content

Commit edc7880

Browse files
committed
README: Add reference to Config.FormatDSN
1 parent 8b688fb commit edc7880

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ This has the same effect as an empty DSN string:
9393
9494
```
9595

96+
Alternatively, [Config.FormatDSN](https://godoc.org/github.com/go-sql-driver/mysql#FormatDSN) can be used to create a DSN string by filling a struct.
97+
9698
#### Password
9799
Passwords can consist of any character. Escaping is **not** necessary.
98100

0 commit comments

Comments
 (0)