Documentation ¶ Index ¶ func NewBaconIpsum(t TextType, p, s int, withLorem bool) generator.Generator type TextType func (t TextType) Validate() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewBaconIpsum ¶ func NewBaconIpsum(t TextType, p, s int, withLorem bool) generator.Generator NewBaconIpsum create an a generator for type bacon ipsum Types ¶ type TextType ¶ type TextType string const ( // AllMeat represent that with this type only generate text with meat AllMeat TextType = "all-meat" // MeatAndFiller for meat mixed with miscellaneous ‘lorem ipsum’ filler. MeatAndFiller TextType = "meat-and-filler" ) func (TextType) Validate ¶ func (t TextType) Validate() bool Source Files ¶ View all Source files bacon.go Click to show internal directories. Click to hide internal directories.