words

package
v0.0.0-...-c37b867 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: GPL-2.0, GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const WORD_COUNT = 1350 // number of words in *adjectives.txt*

Variables

This section is empty.

Functions

func GenerateDescriptor

func GenerateDescriptor(wordCount int) string

Generates a single descriptor

func GenerateDescriptors

func GenerateDescriptors() (string, error)
Generates a descriptors string of the format 'word;word;word;' of length 10,

to be bound to a post in the database. Gets the length then randomly picks words from *adjectives.txt* to add to the string

Types

This section is empty.

Jump to

Keyboard shortcuts

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