File: control

package info (click to toggle)
golang-github-tcnksm-go-input 0.0~git20180404.548a7d7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 136 kB
  • sloc: makefile: 20
file content (30 lines) | stat: -rw-r--r-- 1,355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Source: golang-github-tcnksm-go-input
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Alexandre Viau <aviau@debian.org>
Build-Depends: debhelper (>= 11),
               dh-golang,
               golang-any,
               golang-golang-x-crypto-dev
Standards-Version: 4.2.1
Homepage: https://github.com/tcnksm/go-input
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-tcnksm-go-input
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-tcnksm-go-input.git
XS-Go-Import-Path: github.com/tcnksm/go-input
Testsuite: autopkgtest-pkg-go

Package: golang-github-tcnksm-go-input-dev
Architecture: all
Depends: ${misc:Depends},
         golang-golang-x-crypto-dev
Description: 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.