Documentation
¶
Index ¶
- Variables
- func CheckCommand(name string) error
- func FdExecute(cfg FdConfig) []string
- func IsFdError(line string) bool
- func IsPageRangeValid(s string) bool
- func ParseRangeNumber(input string, maxNumPage int) (*[]Range, error)
- func RandomImageFilename(length int) string
- type FdConfig
- type Range
- type Ranges
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorMessage = []string{
"error",
"fd error",
}
View Source
var PageRangeRegex = regexp.MustCompile(`(?m)#\d*(?:-\d*)?(?:,\s*\d*(?:-\d*)?)*`)
Functions ¶
func CheckCommand ¶
func IsPageRangeValid ¶
func RandomImageFilename ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.