namegen

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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