generate

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2018 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIdentifier

func NewIdentifier() string

NewIdentifier generates an identifier suitable for use as a username, role name, database name for various database systems-- including, at least, PostgresSQL and MySQL and MSSQL.

func NewIdentifierOfLength added in v0.10.0

func NewIdentifierOfLength(length int) string

NewIdentifierOfLength generates an identifier of specified length.

func NewPassword

func NewPassword() string

NewPassword generates a strong, random password

Types

This section is empty.

Jump to

Keyboard shortcuts

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