Fix mapstructure issue with anonymous slice
Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
parent
ddbddf6edf
commit
22b0b8b750
3 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue