github.com/ykhrustalev/textbuffer
Package textbuffer provides a way to buffer text data based on a number of writes. Sometimes there is a need to use a buffer with predictable split criteria so that data stays logically solid even if only a single chunk gets its way on the final target writer. Splitting text buffers by size is opposed to such behavior as text lines cut an unpredictable way. An example of such need is maintaining a log lines buffer before writing into in a rotated file every number of writes. This package is safe for parallel execution.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
over 5 years ago
v0.0.0-20200819202533-1f8f256d731f
over 5 years ago
Versions
1
1
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/ykhrustalev/textbuffer
spec |
| License | MIT |
| Namespace | github.com/ykhrustalev |
| First Release | over 5 years ago |
| Last Synced | 15 days ago |
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |
Rankings on proxy.golang.org
Overall
Top 8.2%