Charles Iliya Krempeaux 08353d00b9 | ||
---|---|---|
LICENSE | ||
README.md | ||
copyline.go | ||
copyline_test.go | ||
errors.go | ||
go.mod | ||
go.sum | ||
readrune.go | ||
writerune.go |
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
Examples
import "github.com/reiver/go-netln"
// ...
var storage strings.Builder
var writer io.Writer = &storage
netln.CopyLine(writer, reader)
line := storage.String()