Alle Optionen
buster  ]
[ Quellcode: golang-github-tcnksm-go-input  ]

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

Links für golang-github-tcnksm-go-input-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket golang-github-tcnksm-go-input herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

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.

Andere Pakete mit Bezug zu golang-github-tcnksm-go-input-dev

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

golang-github-tcnksm-go-input-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 8,3 kB42,0 kB [Liste der Dateien]