MCPcopy Create free account
hub / github.com/Pallinder/go-randomdata / Paragraph

Function Paragraph

random_data.go:230–232  ·  view source on GitHub ↗

Paragraph returns a random paragraph

()

Source from the content-addressed store, hash-verified

228
229// Paragraph returns a random paragraph
230func Paragraph() string {
231 return randomFrom(jsonData.Paragraphs)
232}
233
234// Number returns a random number, if only one integer (n1) is supplied it returns a number in [0,n1)
235// if a second argument is supplied it returns a number in [n1,n2)

Callers 2

TestParagraphFunction · 0.85
ExampleRandomdataFunction · 0.85

Calls 1

randomFromFunction · 0.85

Tested by 2

TestParagraphFunction · 0.68
ExampleRandomdataFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…