A go library that helps you generate:
- A random adjective
- A random noun
- A random first name
- A random last name
- A random full name
- A radom word of custom length and delimiter
- A random animal name
package main
import (
"fmt"
"github.com/akp111/randomtext"
)
func main(){
// Generate random adjectives
randomAdjactive := randomtext.Adjective()
fmt.Printf("Random adjactive: %v\n", randomAdjactive)
// generate random first names
randomFirstName := randomtext.FirstName()
fmt.Printf("Random first name: %v\n", randomFirstName)
// random full name
randomFullName := randomtext.RandomName()
fmt.Printf("Random first name: %v\n", randomFullName)
// random animal name
randomAnimal := randomtext.Animal()
fmt.Printf("Random animal: %v\n", randomAnimal)
// random words
randomWord, _ := randomtext.RandomWord(5,"-")
fmt.Printf("Random words: %v\n", randomWord)
}
Add animals- Add colours
- Add languages
- Add anime