mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-02 09:21:40 +02:00
74d81ae080
Argument must be []byte not string Don't commit bomtest.txt
11 lines
158 B
Go
11 lines
158 B
Go
// +build go1.5
|
|
|
|
package bom
|
|
|
|
import "bufio"
|
|
|
|
func discardBytes(buf *bufio.Reader, n int) {
|
|
// the Discard method was introduced in Go 1.5
|
|
buf.Discard(n)
|
|
}
|