passgen

package module
v0.0.0-...-dc7f7f4 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: Unlicense Imports: 5 Imported by: 0

README

password generator

using goja and webview

flags

flag desc
-l password length
-s external script
-w enable webview
-m charset modifier

Documentation

Index

Constants

View Source
const Name = "passgen"

Variables

This section is empty.

Functions

func GeneratePassword

func GeneratePassword(length int) (string, error)

func SetCharSet

func SetCharSet(cs CharSet)

func SetScript

func SetScript(script string)

Types

type CharSet

type CharSet struct {
	Lowers string
	Uppers string
	Digits string
	Others string
}

func CharSetFromModifier

func CharSetFromModifier(modifier string) (cs CharSet, err error)

func DefaultCharSet

func DefaultCharSet() CharSet

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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