file

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrFileIsNotMatchExpression return when regexp doesn't match specified name
	ErrFileIsNotMatchExpression = errors.New("file path does not match specified pattern")
)

Functions

func New

New return new UseCase

Types

type UseCase

type UseCase struct {
	// contains filtered or unexported fields
}

UseCase file usecase

func (*UseCase) LoadFiles

func (u *UseCase) LoadFiles(paths []string, option generator.OptionFlagEntity) (*generator.Entity, error)

LoadFiles load files for given paths, filtered by what matches given include path regex

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL