Fix example code in README (#197)

This commit is contained in:
Maxime Le Conte des Floris
2017-10-22 00:24:36 +02:00
committed by Thomas Pelletier
parent 2009e44b6f
commit d01db88be9
+3 -3
View File
@@ -57,9 +57,9 @@ type Config struct {
}
doc := []byte(`
[postgres]
user = "pelletier"
password = "mypassword"`)
[Postgres]
User = "pelletier"
Password = "mypassword"`)
config := Config{}
toml.Unmarshal(doc, &config)