Convert resolvers to an interface with a Validate() method.

This commit is contained in:
Alec Thomas
2018-09-21 15:18:17 +10:00
parent 25399cde9e
commit c112a076e7
5 changed files with 82 additions and 37 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ type Kong struct {
bindings bindings
loader ConfigurationFunc
resolvers []ResolverFunc
resolvers []Resolver
registry *Registry
noDefaultHelp bool