项目作者: maxim2266

项目描述 :
Functional composition of text processing operations.
高级语言: Go
项目地址: git://github.com/maxim2266/trw.git
创建时间: 2019-03-20T19:21:36Z
项目社区:https://github.com/maxim2266/trw

开源协议:BSD 3-Clause "New" or "Revised" License

下载


trw: Text Re-Writer.

GoDoc
Go Report Card
License: BSD 3 Clause

Package trw wraps around various text processing functions from the standard
Go library to allow for functional composition of operations, also minimising
memory consumption. Here is an example of usage.

About the package

The package is most useful in situations where a number of text rewriting
operations is to be applied sequentially to a large input byte slice. For this scenario the package provides:

  • Functional composition of the existing or user-defined operations that can later be
    applied all at once;
  • Memory optimisation using various techniques to minimise (re)allocations.