Skip to content

Commit

Permalink
add dependency declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
taowen committed Feb 28, 2018
1 parent c8eaf46 commit 1df9eeb
Show file tree
Hide file tree
Showing 27 changed files with 75 additions and 24 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
15 changes: 15 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion test/array_test.go → tests/array_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/int_test.go → tests/int_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/map_elem_map_test.go → tests/map_elem_map_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/map_key_eface_test.go → tests/map_key_eface_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/map_key_iface_test.go → tests/map_key_iface_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/map_key_ptr_test.go → tests/map_key_ptr_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/map_test.go → tests/map_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/op_test.go → tests/op_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"github.com/modern-go/reflect2"
Expand Down
2 changes: 1 addition & 1 deletion test/slice_array_test.go → tests/slice_array_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/slice_bytes_test.go → tests/slice_bytes_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/slice_eface_test.go → tests/slice_eface_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/slice_iface_test.go → tests/slice_iface_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/slice_map_test.go → tests/slice_map_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/slice_ptr_test.go → tests/slice_ptr_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/slice_string_test.go → tests/slice_string_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/slice_struct_test.go → tests/slice_struct_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/slice_test.go → tests/slice_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/struct_eface_test.go → tests/struct_eface_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/struct_ptr_test.go → tests/struct_ptr_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion test/struct_test.go → tests/struct_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"testing"
Expand Down

0 comments on commit 1df9eeb

Please sign in to comment.