diff options
| author | Shulhan <ms@kilabit.info> | 2018-09-15 20:50:06 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-09-17 22:51:20 +0700 |
| commit | e914833fa2b0a99fc726c313d594f31ab6b132ba (patch) | |
| tree | bbc12a780509d1f7d084d92fb857722b5fae1e52 | |
| parent | 0f68f37ce159c96d56b4748eee6a9a88c6b7f801 (diff) | |
| download | pakakeh.go-e914833fa2b0a99fc726c313d594f31ab6b132ba.tar.xz | |
lib: rename package "string" to "strings"
| -rw-r--r-- | lib/strings/string.go (renamed from lib/string/string.go) | 3 | ||||
| -rw-r--r-- | lib/strings/string_test.go (renamed from lib/string/string_test.go) | 2 | ||||
| -rw-r--r-- | lib/strings/strings.go | 9 |
3 files changed, 11 insertions, 3 deletions
diff --git a/lib/string/string.go b/lib/strings/string.go index a3dc7e2c..027db92d 100644 --- a/lib/string/string.go +++ b/lib/strings/string.go @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package string provide a library for working with string. -package string +package strings import ( libbytes "github.com/shuLhan/share/lib/bytes" diff --git a/lib/string/string_test.go b/lib/strings/string_test.go index 04ae4e02..90feba78 100644 --- a/lib/string/string_test.go +++ b/lib/strings/string_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package string +package strings import ( "testing" diff --git a/lib/strings/strings.go b/lib/strings/strings.go new file mode 100644 index 00000000..3b4db829 --- /dev/null +++ b/lib/strings/strings.go @@ -0,0 +1,9 @@ +// Copyright 2018, Shulhan <ms@kilabit.info>. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +// Package strings provide a library for working with string or slice of +// strings. +// +package strings |
