Fix mapstructure issue with anonymous slice

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2016-10-21 15:56:09 +02:00
parent ddbddf6edf
commit 22b0b8b750
No known key found for this signature in database
GPG key ID: D808B4C167352E59
3 changed files with 8 additions and 6 deletions

View file

@ -216,12 +216,12 @@ type Users []string
// Basic HTTP basic authentication
type Basic struct {
Users
Users `mapstructure:","`
}
// Digest HTTP authentication
type Digest struct {
Users
Users `mapstructure:","`
}
// CanonicalDomain returns a lower case domain with trim space