two loop solution
two loop solution

Remove any CRLF sequences in buf, using `bytes.Index` because that
takes advantage of machine opcodes that search for byte patterns on
many architectures. This operation is done in two parts: find and
record the CRLF sequence positions, then loop through and copy bytes
to eliminate the CR bytes.

ibrasho-forks/dep,ibrasho-forks/dep,golang/dep,golang/dep,golang/dep