go-netln/README.md

26 lines
592 B
Markdown
Raw Normal View History

2022-11-14 04:39:21 +00:00
# go-netln
**go-netln** provides tools for parsing "net lines", for the Go programming language —
i.e., lines that end with a "\r\n".
## Documention
Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-netln
2022-11-14 04:39:21 +00:00
[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-netln?status.svg)](https://godoc.org/sourcecode.social/reiver/go-netln)
2022-11-14 04:39:21 +00:00
## Examples
```go
import "sourcecode.social/reiver/go-netln"
2022-11-14 04:39:21 +00:00
// ...
var storage strings.Builder
var writer io.Writer = &storage
netln.CopyLine(writer, reader)
line := storage.String()
```