From 3a4cd93e91aad054f89491e9f91fba6cf92dbc19 Mon Sep 17 00:00:00 2001 From: Dario Maiocchi Date: Sun, 12 Nov 2017 19:50:51 +0100 Subject: golint on resource_libvirt_domain_test.go Use correct names in comments --- libvirt/stream.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libvirt/stream.go') diff --git a/libvirt/stream.go b/libvirt/stream.go index 1c5a24e9..4223466c 100644 --- a/libvirt/stream.go +++ b/libvirt/stream.go @@ -2,12 +2,12 @@ package libvirt import libvirt "github.com/libvirt/libvirt-go" -// StreamIO struct +// StreamIO libvirt struct type StreamIO struct { Stream libvirt.Stream } -// NewStreamIO return libvirt StreamIO +// NewStreamIO returns libvirt StreamIO func NewStreamIO(s libvirt.Stream) *StreamIO { return &StreamIO{Stream: s} } @@ -20,7 +20,7 @@ func (sio *StreamIO) Write(p []byte) (int, error) { return sio.Stream.Send(p) } -// Close StreamIO +// Close closes the stream func (sio *StreamIO) Close() error { return sio.Stream.Finish() } -- cgit v1.2.3