namegen

package
v1.10.6 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Alphabet = []rune("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzáäåèêëíîïøúýþāăąċčďđĕęěğħķĺłňōŕřŝşšţťŧŭŵžƒƿǩνοςυвгкмпъяѐѓљғԁḽḿṕẓẽịỏụỳ")

Functions

func RandomDirectoryName

func RandomDirectoryName(r io.Reader) (string, error)

RandomDirectoryName returns a random directory name from the provided word list.

func RandomFileExtension added in v1.9.0

func RandomFileExtension(r io.Reader) (string, error)

RandomFileExtension returns a random file extension, including '.'. This may also return an empty string.

func RandomFileName

func RandomFileName(r io.Reader) (string, error)

RandomFileName returns a random file name with an extension from the provided word list and common extensions.

func RandomName added in v1.10.5

func RandomName(r io.Reader, minSize, maxSize int) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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