generate

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2019 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