We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55a6725 commit 4917425Copy full SHA for 4917425
pkg/classic.go
@@ -27,6 +27,16 @@ func ClassicSentence() string {
27
return buildClassicText(8)
28
}
29
30
+// ClassicWordsPerSentence returns the word count per sentence
31
+func ClassicWordsPerSentence() int {
32
+ return 8
33
+}
34
+
35
+// ClassicWordsPerSentence returns the word count per praragraph
36
+func ClassicWordsPerParagraph() int {
37
+ return len(classicText)
38
39
40
// ClassicWords returns the specified number of words from the classic Lorem Ipsum text
41
func ClassicWords(quantity int) string {
42
if quantity <= 0 {
0 commit comments