ipld-eth-server/vendor/github.com/goware/prefixer/example
2018-09-17 13:25:19 -05:00
..
prefix.go use Sup deployment tool to deploy to staging 2018-09-17 13:25:19 -05:00
README.md use Sup deployment tool to deploy to staging 2018-09-17 13:25:19 -05:00

Prefixer example

See prefix.go.

Build "prefix" binary

$ git clone https://github.com/goware/prefixer.git
$ cd prefixer/example
$ go build -o prefix

Usage

Create an email reply ("> " prefix) from any text easily:

$ ./prefix
Dear John,               
did you know that https://github.com/goware/prefixer is a golang pkg
that prefixes every line with a given string and accepts any io.Reader?

Cheers,
- Jane
^D     
> Dear John,               
> did you know that https://github.com/goware/prefixer is a golang pkg
> that prefixes every line with a given string and accepts any io.Reader?
>
> Cheers,
> - Jane