add dependency declaration
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..61ead86
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/vendor
diff --git a/Gopkg.lock b/Gopkg.lock
new file mode 100644
index 0000000..2a3a698
--- /dev/null
+++ b/Gopkg.lock
@@ -0,0 +1,15 @@
+# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
+
+
+[[projects]]
+ name = "github.com/modern-go/concurrent"
+ packages = ["."]
+ revision = "e0a39a4cb4216ea8db28e22a69f4ec25610d513a"
+ version = "1.0.0"
+
+[solve-meta]
+ analyzer-name = "dep"
+ analyzer-version = 1
+ inputs-digest = "daee8a88b3498b61c5640056665b8b9eea062006f5e596bbb6a3ed9119a11ec7"
+ solver-name = "gps-cdcl"
+ solver-version = 1
diff --git a/Gopkg.toml b/Gopkg.toml
new file mode 100644
index 0000000..3593fd0
--- /dev/null
+++ b/Gopkg.toml
@@ -0,0 +1,35 @@
+# Gopkg.toml example
+#
+# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
+# for detailed Gopkg.toml documentation.
+#
+# required = ["github.com/user/thing/cmd/thing"]
+# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
+#
+# [[constraint]]
+# name = "github.com/user/project"
+# version = "1.0.0"
+#
+# [[constraint]]
+# name = "github.com/user/project2"
+# branch = "dev"
+# source = "github.com/myfork/project2"
+#
+# [[override]]
+# name = "github.com/x/y"
+# version = "2.4.0"
+#
+# [prune]
+# non-go = false
+# go-tests = true
+# unused-packages = true
+
+ignored = ["github.com/modern-go/test","github.com/modern-go/test/must","github.com/modern-go/test/should"]
+
+[[constraint]]
+ name = "github.com/modern-go/concurrent"
+ version = "1.0.0"
+
+[prune]
+ go-tests = true
+ unused-packages = true
diff --git a/test/array_test.go b/tests/array_test.go
similarity index 98%
rename from test/array_test.go
rename to tests/array_test.go
index d7ba488..8c91098 100644
--- a/test/array_test.go
+++ b/tests/array_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/int_test.go b/tests/int_test.go
similarity index 98%
rename from test/int_test.go
rename to tests/int_test.go
index 65543fc..7fd60e4 100644
--- a/test/int_test.go
+++ b/tests/int_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/map_elem_array_test.go b/tests/map_elem_array_test.go
similarity index 98%
rename from test/map_elem_array_test.go
rename to tests/map_elem_array_test.go
index 5f845f6..607f624 100644
--- a/test/map_elem_array_test.go
+++ b/tests/map_elem_array_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/map_elem_bytes_test.go b/tests/map_elem_bytes_test.go
similarity index 98%
rename from test/map_elem_bytes_test.go
rename to tests/map_elem_bytes_test.go
index a3a0461..d6d894e 100644
--- a/test/map_elem_bytes_test.go
+++ b/tests/map_elem_bytes_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/map_elem_eface_test.go b/tests/map_elem_eface_test.go
similarity index 98%
rename from test/map_elem_eface_test.go
rename to tests/map_elem_eface_test.go
index 3ae4801..d6cd51e 100644
--- a/test/map_elem_eface_test.go
+++ b/tests/map_elem_eface_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/map_elem_map_test.go b/tests/map_elem_map_test.go
similarity index 97%
rename from test/map_elem_map_test.go
rename to tests/map_elem_map_test.go
index f590283..3cc4dfe 100644
--- a/test/map_elem_map_test.go
+++ b/tests/map_elem_map_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/map_elem_struct_test.go b/tests/map_elem_struct_test.go
similarity index 98%
rename from test/map_elem_struct_test.go
rename to tests/map_elem_struct_test.go
index 2fd391b..ec2dd2d 100644
--- a/test/map_elem_struct_test.go
+++ b/tests/map_elem_struct_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/map_key_eface_test.go b/tests/map_key_eface_test.go
similarity index 98%
rename from test/map_key_eface_test.go
rename to tests/map_key_eface_test.go
index d070251..df57e8f 100644
--- a/test/map_key_eface_test.go
+++ b/tests/map_key_eface_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/map_key_iface_test.go b/tests/map_key_iface_test.go
similarity index 98%
rename from test/map_key_iface_test.go
rename to tests/map_key_iface_test.go
index 87f73cf..b8774af 100644
--- a/test/map_key_iface_test.go
+++ b/tests/map_key_iface_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/map_key_ptr_test.go b/tests/map_key_ptr_test.go
similarity index 98%
rename from test/map_key_ptr_test.go
rename to tests/map_key_ptr_test.go
index 1ed3567..7c905f7 100644
--- a/test/map_key_ptr_test.go
+++ b/tests/map_key_ptr_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/map_test.go b/tests/map_test.go
similarity index 99%
rename from test/map_test.go
rename to tests/map_test.go
index d6a8b76..131baa4 100644
--- a/test/map_test.go
+++ b/tests/map_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/op_test.go b/tests/op_test.go
similarity index 96%
rename from test/op_test.go
rename to tests/op_test.go
index 44874f4..fa3bd45 100644
--- a/test/op_test.go
+++ b/tests/op_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"github.com/modern-go/reflect2"
diff --git a/test/slice_array_test.go b/tests/slice_array_test.go
similarity index 98%
rename from test/slice_array_test.go
rename to tests/slice_array_test.go
index 44af5d0..89dbbe7 100644
--- a/test/slice_array_test.go
+++ b/tests/slice_array_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/slice_bytes_test.go b/tests/slice_bytes_test.go
similarity index 96%
rename from test/slice_bytes_test.go
rename to tests/slice_bytes_test.go
index c4df845..ef1aa68 100644
--- a/test/slice_bytes_test.go
+++ b/tests/slice_bytes_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/slice_eface_test.go b/tests/slice_eface_test.go
similarity index 99%
rename from test/slice_eface_test.go
rename to tests/slice_eface_test.go
index 9b6c182..950ad33 100644
--- a/test/slice_eface_test.go
+++ b/tests/slice_eface_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/slice_iface_test.go b/tests/slice_iface_test.go
similarity index 99%
rename from test/slice_iface_test.go
rename to tests/slice_iface_test.go
index 1c7ae49..0a94d79 100644
--- a/test/slice_iface_test.go
+++ b/tests/slice_iface_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/slice_map_test.go b/tests/slice_map_test.go
similarity index 98%
rename from test/slice_map_test.go
rename to tests/slice_map_test.go
index b887917..f01a212 100644
--- a/test/slice_map_test.go
+++ b/tests/slice_map_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/slice_ptr_test.go b/tests/slice_ptr_test.go
similarity index 98%
rename from test/slice_ptr_test.go
rename to tests/slice_ptr_test.go
index 39bf402..a381be4 100644
--- a/test/slice_ptr_test.go
+++ b/tests/slice_ptr_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/slice_string_test.go b/tests/slice_string_test.go
similarity index 95%
rename from test/slice_string_test.go
rename to tests/slice_string_test.go
index 4ecc86a..24cc781 100644
--- a/test/slice_string_test.go
+++ b/tests/slice_string_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/slice_struct_test.go b/tests/slice_struct_test.go
similarity index 98%
rename from test/slice_struct_test.go
rename to tests/slice_struct_test.go
index 1539458..594c286 100644
--- a/test/slice_struct_test.go
+++ b/tests/slice_struct_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/slice_test.go b/tests/slice_test.go
similarity index 99%
rename from test/slice_test.go
rename to tests/slice_test.go
index 47c745a..2b5f98d 100644
--- a/test/slice_test.go
+++ b/tests/slice_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/struct_eface_test.go b/tests/struct_eface_test.go
similarity index 97%
rename from test/struct_eface_test.go
rename to tests/struct_eface_test.go
index 0a4aac2..ce1e997 100644
--- a/test/struct_eface_test.go
+++ b/tests/struct_eface_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/struct_ptr_test.go b/tests/struct_ptr_test.go
similarity index 97%
rename from test/struct_ptr_test.go
rename to tests/struct_ptr_test.go
index b633b22..889d3af 100644
--- a/test/struct_ptr_test.go
+++ b/tests/struct_ptr_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"
diff --git a/test/struct_test.go b/tests/struct_test.go
similarity index 98%
rename from test/struct_test.go
rename to tests/struct_test.go
index 7d27967..4f69aad 100644
--- a/test/struct_test.go
+++ b/tests/struct_test.go
@@ -1,4 +1,4 @@
-package test
+package tests
import (
"testing"