全部搜尋項
buster  ]
[ 原始碼: golang-github-tcnksm-go-input  ]

套件:golang-github-tcnksm-go-input-dev(0.0~git20180404.548a7d7-1)

golang-github-tcnksm-go-input-dev 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 golang-github-tcnksm-go-input

維護小組:

外部的資源:

相似套件:

Go package for ideal tty prompt

go-input is a Go package for reading user input in console.

Here is the some good points compared with other/similar packages. It can handle SIGINT (Ctrl+C) while reading input and returns error. It allows one to change IO interface as io.Writer and io.Reader so it's easy to test of your go program with this package (This package is also well-tested!). It also supports raw mode input (reading input without prompting) for multiple platform (Darwin, Linux and Windows). Not only this it allows one to prompt complex input via Option struct.

其他與 golang-github-tcnksm-go-input-dev 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 golang-github-tcnksm-go-input-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 8。3 kB42。0 kB [檔案列表]