From 8ebd0474e5a2f0a5c7a74ad2bf421a1d1a90264f Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 12 Jul 2016 09:12:50 +0300 Subject: [PATCH] Added missing dots in documentation --- bytebuffer.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bytebuffer.go b/bytebuffer.go index b827071..07a055a 100644 --- a/bytebuffer.go +++ b/bytebuffer.go @@ -84,23 +84,23 @@ func (b *ByteBuffer) WriteByte(c byte) error { return nil } -// WriteString appends s to ByteBuffer.B +// WriteString appends s to ByteBuffer.B. func (b *ByteBuffer) WriteString(s string) (int, error) { b.B = append(b.B, s...) return len(s), nil } -// Set sets ByteBuffer.B to p +// Set sets ByteBuffer.B to p. func (b *ByteBuffer) Set(p []byte) { b.B = append(b.B[:0], p...) } -// SetString sets ByteBuffer.B to s +// SetString sets ByteBuffer.B to s. func (b *ByteBuffer) SetString(s string) { b.B = append(b.B[:0], s...) } -// String returns string representation of ByteBuffer.B +// String returns string representation of ByteBuffer.B. func (b *ByteBuffer) String() string { return string(b.B) }