modulepackage
0.0.0-20170109162249-bf9dde6d0d2c
Repository: https://github.com/gilbertchen/gopass.git
Documentation: pkg.go.dev
# README
getpasswd in Go

Retrieve password from user terminal or piped input without echo.
Verified on BSD, Linux, and Windows.
Example:
package main
import "fmt"
import "github.com/howeyc/gopass"
func main() {
fmt.Printf("Password: ")
// Silent. For printing *'s use gopass.GetPasswdMasked()
pass, err := gopass.GetPasswd()
if err != nil {
// Handle gopass.ErrInterrupted or getch() read error
}
// Do something with pass
}
Caution: Multi-byte characters not supported!
# Functions
GetPasswd returns the password read from the terminal without echoing input.
GetPasswdMasked returns the password read from the terminal, echoing asterisks.
GetPasswdPrompt prompts the user and returns the password read from the terminal.
# Variables
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author