mirror of
https://github.com/nabbar/golib.git
synced 2025-10-16 21:00:48 +08:00

- logger - password # Fix Archive : - create archive : add params to clean prefix path from contents path # Fix Nutsdb : - fix client command detection - add test for unknown command before parsing - fix snapshoot process for cluster
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