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(` doc := []byte(`
[postgres] [Postgres]
user = "pelletier" User = "pelletier"
password = "mypassword"`) Password = "mypassword"`)
config := Config{} config := Config{}
toml.Unmarshal(doc, &config) toml.Unmarshal(doc, &config)