password

package
v1.13.13 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 2 Imported by: 0

README

Password pakcage

Help generate random string usable in password....

Example of implement

In your file, import this lib :

import "github.com/nabbar/golib/password"
// generate a password of 24 chars len
newPass := Generate(24)

The generated password can having this char : - lower letter : abcdefghijklmnopqrstuvwxyz - upper letter : ABCDEFGHIJKLMNOPQRSTUVWXYZ - number : 0123456789 - special char : ,;:!?./*%^$&"'(-_)=+~#{[|`^@]}

An example is available in test/test-password

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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