Add flag.Value type check
package config
import (
+ "flag"
"fmt"
"strings"
)
@@ -84,6 +85,8 @@ type Settings struct {
AcceptForwarded *AcceptForwarded
}
+var _ flag.Value = &List{}
+
type List []string
func (s *List) String() string {
