Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileValidator ¶
type FileValidator struct{}
FileValidator has ability to validate whether path points at any file on user OS
func NewFileValidator ¶
func NewFileValidator() FileValidator
func (FileValidator) Validate ¶
func (fv FileValidator) Validate(in interface{}) error
Validate checks whether in is valid path to any file on local user OS
Click to show internal directories.
Click to hide internal directories.