Documentation
¶
Index ¶
- func CheckPath(pkgDir, abs string, dirOK map[string]bool) (info fs.FileInfo, rel string, err error)
- func FileImportsEmbed(file *ast.File) bool
- func IsBadName(name string) bool
- func ParseDirective(line string) (args string, ok bool)
- func ParsePatterns(docs ...*ast.CommentGroup) (patterns []string, hasDirective bool, err error)
- func RelPath(pkgDir, abs string) (string, error)
- func SplitArgs(s string) ([]string, error)
- func ValidPattern(pattern string) bool
- type FileData
- type VarData
- type VarMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileImportsEmbed ¶
func ParseDirective ¶
func ParsePatterns ¶
func ParsePatterns(docs ...*ast.CommentGroup) (patterns []string, hasDirective bool, err error)
func ValidPattern ¶
Types ¶
type FileData ¶
func BuildFSEntries ¶
Click to show internal directories.
Click to hide internal directories.