Documentation ¶ Index ¶ Variables type Mocker func NewMocker() Mocker type Service func NewService(m Mocker) Service Constants ¶ This section is empty. Variables ¶ View Source var ( ErrNotFound = errors.New("interface not found") ErrMoreThanOneInterface = errors.New("more than one interface found, only one at a time is supported") ) Functions ¶ This section is empty. Types ¶ type Mocker ¶ type Mocker interface { Mock(in string, out io.Writer, intf string) error } func NewMocker ¶ func NewMocker() Mocker type Service ¶ type Service interface { Process(interfaces []string, filePath string) error ProcessOne(input io.Reader, output io.Writer) error } func NewService ¶ func NewService(m Mocker) Service Source Files ¶ View all Source files mocker.go service.go Click to show internal directories. Click to hide internal directories.