Parcourir la source

README: Add reference to Config.FormatDSN

Julien Schmidt il y a 10 ans
Parent
commit
edc78806a0
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -93,6 +93,8 @@ This has the same effect as an empty DSN string:
 
 ```
 
+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.
+
 #### Password
 Passwords can consist of any character. Escaping is **not** necessary.