github.com/wtfutil/wtf@v0.43.0/cfg/validatable.go (about)

     1  package cfg
     2  
     3  // Validatable is implemented by any value that validates a configuration setting
     4  type Validatable interface {
     5  	Error() error
     6  	HasError() bool
     7  	String() string
     8  	IntValue() int
     9  }