Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "gofortune",
Short: "A modernized fortune",
Long: `GoFortune is an implementation in the fortune unix tool set: fortune and strfile. Aiming storage format and command-line compatibility with the fortune-mod version in 1.0.`,
}
Functions ¶
Types ¶
type FortuneRequest ¶
type FortuneRequest struct {
AllMaxims, ShowCookieFile, PrintListOfFiles bool
LongDictumsOnly, ShortOnly, IgnoreCase bool
Wait, ConsiderAllEqual, Offensive bool
Match string
LongestShort int
Paths []fortune.ProbabilityPath
OffensivePaths []fortune.ProbabilityPath
}
type StrFileRequest ¶
Click to show internal directories.
Click to hide internal directories.