namer

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

README

namer

GoDoc Test

Very, very simple module for getting reproducible random animal names

about

Each function generates a reproducible random animal name prefixed with an adjective.

In short this means that given the same input, the method will return the same output, while the output being random.

usage
package main

import (
	"fmt"
	"github.com/frederikhs/namer"
)

func main()  {
	pascal := namer.GeneratePascalName("one")   // EasySpider
	camel := namer.GenerateCamelCaseName("one") // easySpider
	fmt.Println(pascal, camel)
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCamelCaseName

func GenerateCamelCaseName(seed string) string

GenerateCamelCaseName generates a new reproducible random name consisting of an adjective and animal name in camel case

func GeneratePascalName

func GeneratePascalName(seed string) string

GeneratePascalName generates a new reproducible random name consisting of an adjective and animal name in pascal case

Types

This section is empty.

Jump to

Keyboard shortcuts

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