From 44ebd9249db52cba5f253418a4ced3447e54b376 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Wed, 25 Oct 2023 14:09:48 -0700 Subject: [PATCH] tweak the order of the imports --- buffer.go | 6 +++--- example_writer_test.go | 4 ++-- limitedbuffer_test.go | 4 ++-- writer_test.go | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/buffer.go b/buffer.go index 78c387c..4225fca 100644 --- a/buffer.go +++ b/buffer.go @@ -1,11 +1,11 @@ package buffers import ( - "sourcecode.social/reiver/go-opt" - "sourcecode.social/reiver/go-utf8" - "io" "unsafe" + + "sourcecode.social/reiver/go-opt" + "sourcecode.social/reiver/go-utf8" ) // A Buffer is used to store a series of bytes. diff --git a/example_writer_test.go b/example_writer_test.go index 0800a72..ecf0246 100644 --- a/example_writer_test.go +++ b/example_writer_test.go @@ -1,9 +1,9 @@ package buffers_test import ( - "sourcecode.social/reiver/go-buffers" - "fmt" + + "sourcecode.social/reiver/go-buffers" ) func ExampleWriter() { diff --git a/limitedbuffer_test.go b/limitedbuffer_test.go index 7e077d7..970a33b 100644 --- a/limitedbuffer_test.go +++ b/limitedbuffer_test.go @@ -1,9 +1,9 @@ package buffers_test import ( - "sourcecode.social/reiver/go-buffers" - "testing" + + "sourcecode.social/reiver/go-buffers" ) func TestLimitedBuffer_oneByteAtATime(t *testing.T) { diff --git a/writer_test.go b/writer_test.go index 7d0d1cc..cbd93b0 100644 --- a/writer_test.go +++ b/writer_test.go @@ -1,11 +1,11 @@ package buffers_test import ( - "sourcecode.social/reiver/go-buffers" + "testing" "reflect" - "testing" + "sourcecode.social/reiver/go-buffers" ) func TestWriterSingleWrite(t *testing.T) {