564 B
564 B
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/github.com/reiver/go-netln
Examples
import "github.com/reiver/go-netln"
// ...
var storage strings.Builder
var writer io.Writer = &storage
netln.CopyLine(writer, reader)
line := storage.String()