Documentation ¶
Index ¶
Constants ¶
View Source
const (
StandardInput = "<standard-input>"
)
Variables ¶
View Source
var (
ErrPathIsNotDir = errors.New("path is not a directory")
)
Functions ¶
Types ¶
type SourceDir ¶
type SourceDir struct {
// contains filtered or unexported fields
}
SourceDir to validate and fix import
func NewSourceDir ¶
func (*SourceDir) DeleteAutoGeneratedFiles ¶
type SourceFile ¶
type SourceFile struct {
// contains filtered or unexported fields
}
func NewSourceFile ¶
func NewSourceFile(filePath, generatedName string) *SourceFile
NewSourceFile constructor
func (*SourceFile) IsAutoGenerated ¶
func (f *SourceFile) IsAutoGenerated() (bool, error)
Click to show internal directories.
Click to hide internal directories.