generator

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity struct {
	DirMap  map[string][]string
	FileMap map[string]*goblet.File
	Paths   []string
}

Entity generator entity

type OptionFlagEntity added in v1.2.0

type OptionFlagEntity struct {
	IncludePatterns []string
	IgnoreDotFiles  bool
	ExcludeEmptyDir bool
}

OptionFlagEntity stores option flag values

type PathMatcherRepository added in v1.2.0

type PathMatcherRepository interface {
	Prepare(OptionFlagEntity) error
	Match(path string) bool
}

PathMatcherRepository respository to judge path is match or not

type RegexpRepository

type RegexpRepository interface {
	CompilePatterns(patterns []string) error
	MatchAny(path string) bool
}

RegexpRepository repository for slice of regexp

type UseCase

type UseCase interface {
	LoadFiles(paths []string, option OptionFlagEntity) (*Entity, error)
}

UseCase interface

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
presenter
repository
usecase

Jump to

Keyboard shortcuts

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