Commit 92879adc by Jacob Vosmaer

Add doc comment

parent 02e7a7f0
......@@ -4,6 +4,9 @@ import (
"bytes"
)
// ScanLinesRaw splits after each '\n' in the input. Unlike
// bufio.ScanLines this lets you detect input that has no trailing
// newline.
func ScanLinesRaw(data []byte, atEOF bool) (advance int, token []byte, err error) {
if atEOF && len(data) == 0 {
return 0, nil, nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment