There was an error while loading. Please reload this page.
2 parents 55a6725 + 4917425 commit d756c8bCopy full SHA for d756c8b
1 file changed
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