Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WalkEntry ¶
type WalkEntry struct {
Path string // path relative to root
Name string // name without extension
Ext string // file extension (with dot)
IsDir bool // whether entry is a directory
IsRegular bool // whether entry is a regular file
}
WalkEntry represents a file system entry encountered during traversal.
func (*WalkEntry) IsJSONFile ¶
isJSONFile returns true if the entry is a JSON file
Click to show internal directories.
Click to hide internal directories.