Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> devel >> golang-github-howeyc-gopass-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-github-howeyc-gopass  ]

套件: golang-github-howeyc-gopass-dev (0.0~git20160303.0.66487b2-2)

getpasswd for Go

getpasswd in Go GoDoc (https://godoc.org/github.com/howeyc/gopass) Build Status (http://travis-ci.org/howeyc/gopass) Retrieve password from user terminal or piped input without echo.

Verified on BSD, Linux, and Windows.

Example: ```go 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!

其他與 golang-github-howeyc-gopass-dev 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 golang-github-howeyc-gopass-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 5.6 kB24 kB [文件列表]