go-netln provides tools for parsing "net lines", for the Go programming language — i.e., lines that end with a "\r\n".
Go to file
Charles Iliya Krempeaux d174da0edc initial commits 2022-11-13 20:39:21 -08:00
LICENSE initial commits 2022-11-13 20:39:21 -08:00
README.md initial commits 2022-11-13 20:39:21 -08:00

README.md

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

GoDoc

Examples

import "github.com/reiver/go-netln"

// ...

var storage strings.Builder
var writer io.Writer = &storage

netln.CopyLine(writer, reader)

line := storage.String()