Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snaipe/go-pager
A Go writer that abstracts `$PAGER` in a POSIX-compliant way.
https://github.com/snaipe/go-pager
Last synced: about 1 month ago
JSON representation
A Go writer that abstracts `$PAGER` in a POSIX-compliant way.
- Host: GitHub
- URL: https://github.com/snaipe/go-pager
- Owner: Snaipe
- License: mit
- Created: 2018-11-03T19:54:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-03T19:55:51.000Z (about 6 years ago)
- Last Synced: 2024-10-31T11:45:01.508Z (3 months ago)
- Language: Go
- Homepage: https://snai.pe/go-pager
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-pager
[![GoDoc](https://godoc.org/snai.pe/go-pager?status.svg)](https://godoc.org/snai.pe/go-pager)
```
go get snai.pe/go-pager
```A Go library to help programs call and write to the user's pager.
The library introduces a `Pager` type that abstracts a pager program as an
`io.WriteCloser`. It understands `$PAGER` in a way that is compliant with
POSIX's `man 1 man`.