From 70aaba5b5f0832e7dca9cb525b398577b37f4272 Mon Sep 17 00:00:00 2001 From: Yasss Date: Mon, 26 Nov 2018 14:23:37 +0100 Subject: [PATCH] Add missing curly-bracket in README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c254aef..c860ee0 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ type Config struct { Database struct { URI string `config:"database-uri,required"` } +} ``` If a field is a slice, Confita will automatically split the config value by commas and fill the slice with each sub value.