Skip to content

Commit

Permalink
add go.mod to control the dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
xgfone committed Mar 7, 2019
1 parent 9402b86 commit ab87e96
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[[constraint]]
name = "github.com/xgfone/go-tools"
version = "v5.2.0"
6 changes: 6 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module github.com/xgfone/ship

require (
github.com/stretchr/testify v1.3.0
github.com/xgfone/go-tools v5.2.0+incompatible
)
9 changes: 9 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/xgfone/go-tools v5.2.0+incompatible h1:lqzETFzz1nmKozuy3Mg7tgLA0G8/REanW7sSKjf3ikA=
github.com/xgfone/go-tools v5.2.0+incompatible/go.mod h1:jwIVCdT4a89oiv9nABSuURIQqfQSYhRocVM13Ug0Z3w=

0 comments on commit ab87e96

Please sign in to comment.