Procházet zdrojové kódy

README: Add reference to Config.FormatDSN

Julien Schmidt před 10 roky
rodič
revize
edc78806a0
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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.