Ver Fonte

README: Add reference to Config.FormatDSN

Julien Schmidt há 10 anos atrás
pai
commit
edc78806a0
1 ficheiros alterados com 2 adições e 0 exclusões
  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.