lorem

package
v0.0.0-...-c5bcced Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

The text/lorem package generates lorem ipsum text.

var lib = require('text/lorem');
var wrd = lorem.word(4, 8);
var sen = lorem.sentence(8, 14);
var par = lorem.Paragraph(50, 80);
console.log(wrd, sen, par);

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(orb *orbit.Orbit) interface{}

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func (*Module) Paragraph

func (this *Module) Paragraph(min, max int) string

func (*Module) Sentence

func (this *Module) Sentence(min, max int) string

func (*Module) Word

func (this *Module) Word(min, max int) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL