The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Golang's io.Reader wrapper prepending every line with a given string.
Use cases
Logger that prefixes every line with a timestamp etc.
16:54:49 My awesome server | Creating etcd client pointing to http://localhost:4001
16:54:49 My awesome server | Listening on http://localhost:8080
16:54:49 My awesome server | [restful/swagger] listing is available at 127.0.0.1:8080/swaggerapi
SSH multiplexer prepending output from multiple servers with a hostname
host1.example.com | SUCCESS
host2.example.com | SUCCESS
host3.example.com | -bash: cd: workdir: No such file or directory
host4.example.com | SUCCESS
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
Read implements io.Reader. It reads data into p from the
underlying reader and prepends every line with a prefix.
It does not block if no data is available yet.
It returns the number of bytes read into p.