mirror of https://bitbucket.org/ausocean/av.git
revid/mtsSender_test.go: updated comment for buffer.Write()
This commit is contained in:
parent
e0c7f3074d
commit
bd3f89978e
|
@ -101,7 +101,7 @@ func log(lvl int8, msg string, args ...interface{}) {
|
||||||
// ring buffer used in tests.
|
// ring buffer used in tests.
|
||||||
type buffer ring.Buffer
|
type buffer ring.Buffer
|
||||||
|
|
||||||
// Write writes to b.
|
// Write implements the io.Writer interface.
|
||||||
func (b *buffer) Write(d []byte) (int, error) {
|
func (b *buffer) Write(d []byte) (int, error) {
|
||||||
r := (*ring.Buffer)(b)
|
r := (*ring.Buffer)(b)
|
||||||
n, err := r.Write(d)
|
n, err := r.Write(d)
|
||||||
|
|
Loading…
Reference in New Issue