From d3e6c2e902eb3a00c2dfdcde09bf35282ea63396 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Mon, 3 Sep 2018 22:27:44 +0700 Subject: Move all byte(s) related constant and functions from package text to bytes --- lib/bytes/bytes_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/bytes/bytes_test.go') diff --git a/lib/bytes/bytes_test.go b/lib/bytes/bytes_test.go index d4fef2a6..50669c4f 100644 --- a/lib/bytes/bytes_test.go +++ b/lib/bytes/bytes_test.go @@ -5,7 +5,6 @@ import ( "testing" "github.com/shuLhan/share/lib/test" - libtext "github.com/shuLhan/share/lib/text" ) func TestToLower(t *testing.T) { @@ -35,7 +34,7 @@ func TestToLower(t *testing.T) { } } -var randomInput256 = libtext.Random([]byte(libtext.HexaLetters), 256) +var randomInput256 = Random([]byte(HexaLetters), 256) func BenchmarkToLowerStd(b *testing.B) { in := make([]byte, len(randomInput256)) -- cgit v1.3-5-g9baa