Dependency management with dep

This commit is contained in:
Meutel 2017-09-06 12:07:10 +02:00
parent 61c0be9139
commit 4e61b6b35c
2 changed files with 32 additions and 0 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@
go-bouquins go-bouquins
calibre.db calibre.db
bouquins.json bouquins.json
Gopkg.lock
vendor/

30
Gopkg.toml Normal file
View File

@ -0,0 +1,30 @@
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# 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"
[[constraint]]
branch = "master"
name = "github.com/c2h5oh/datasize"
[[constraint]]
name = "github.com/mattn/go-sqlite3"
version = "1.2.0"