open-nomad/vendor/github.com/bgentry/speakeasy
Seth Hoenig 435c0d9fc8 deps: Switch to Go modules for dependency management
This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
2020-06-02 14:30:36 -05:00
..
.gitignore deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
LICENSE deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
LICENSE_WINDOWS Using godeps to build 2016-02-12 10:02:16 -08:00
Readme.md Using godeps to build 2016-02-12 10:02:16 -08:00
speakeasy.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
speakeasy_unix.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
speakeasy_windows.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00

Readme.md

Speakeasy

This package provides cross-platform Go (#golang) helpers for taking user input from the terminal while not echoing the input back (similar to getpasswd). The package uses syscalls to avoid any dependence on cgo, and is therefore compatible with cross-compiling.

GoDoc

Unicode

Multi-byte unicode characters work successfully on Mac OS X. On Windows, however, this may be problematic (as is UTF in general on Windows). Other platforms have not been tested.

License

The code herein was not written by me, but was compiled from two separate open source packages. Unix portions were imported from gopass, while Windows portions were imported from the CloudFoundry Go CLI's Windows terminal helpers.

The license for the windows portion has been copied exactly from the source (though I attempted to fill in the correct owner in the boilerplate copyright notice).