hipster.go 659 B

1234567891011121314151617181920
  1. package gofakeit
  2. // HipsterWord will return a single hipster word
  3. func HipsterWord() string {
  4. return getRandValue([]string{"hipster", "word"})
  5. }
  6. // HipsterSentence will generate a random sentence
  7. func HipsterSentence(wordCount int) string {
  8. return sentence(wordCount, HipsterWord)
  9. }
  10. // HipsterParagraph will generate a random paragraphGenerator
  11. // Set Paragraph Count
  12. // Set Sentence Count
  13. // Set Word Count
  14. // Set Paragraph Separator
  15. func HipsterParagraph(paragraphCount int, sentenceCount int, wordCount int, separator string) string {
  16. return paragraphGenerator(paragrapOptions{paragraphCount, sentenceCount, wordCount, separator}, HipsterSentence)
  17. }