Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate to go.mod #111

Merged
merged 1 commit into from
Jan 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@ addons:
- g++-arm-linux-gnueabihf

env:
- DEP_VERSION="0.4.1"
- GO111MODULE=on

before_install:
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
- chmod +x $GOPATH/bin/dep
- make download-tools

install:
- dep ensure -v
- go get
- (cd ui && npm install)

script:
Expand Down
207 changes: 0 additions & 207 deletions Gopkg.lock

This file was deleted.

39 changes: 0 additions & 39 deletions Gopkg.toml

This file was deleted.

3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ download-tools:
go get -u golang.org/x/tools/cmd/goimports

update-swagger:
swagger generate spec --scan-models -o docs/spec.json
go mod vendor
GO111MODULE=off swagger generate spec --scan-models -o docs/spec.json

check-swagger: update-swagger
## add the docs to git, this changes line endings in git, otherwise this does not work on windows
Expand Down
35 changes: 35 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
module github.com/gotify/server

require (
cloud.google.com/go v0.34.0 // indirect
github.com/Southclaws/configor v1.0.0 // indirect
github.com/denisenkom/go-mssqldb v0.0.0-20190111225525-2fea367d496d // indirect
github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 // indirect
github.com/fortytw2/leaktest v1.3.0
github.com/gin-contrib/sse v0.0.0-20170109093832-22d885f9ecc7 // indirect
github.com/gin-gonic/gin v1.3.0
github.com/go-sql-driver/mysql v1.4.1 // indirect
github.com/gobuffalo/packr v1.21.9
github.com/google/go-cmp v0.2.0 // indirect
github.com/gorilla/websocket v1.4.0
github.com/gotify/configor v1.0.2-0.20190112111140-7d9c7c7e6233
github.com/gotify/location v0.0.0-20170722210143-03bc4ad20437
github.com/h2non/filetype v1.0.5
github.com/jinzhu/gorm v1.9.2
github.com/jinzhu/inflection v0.0.0-20180308033659-04140366298a // indirect
github.com/jinzhu/now v0.0.0-20181116074157-8ec929ed50c3 // indirect
github.com/jmattheis/go-packr-swagger-ui v3.18.2+incompatible
github.com/json-iterator/go v1.1.5 // indirect
github.com/lib/pq v1.0.0 // indirect
github.com/mattn/go-isatty v0.0.4 // indirect
github.com/mattn/go-sqlite3 v1.10.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/pkg/errors v0.8.1 // indirect
github.com/stretchr/testify v1.3.0
golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc
google.golang.org/appengine v1.4.0 // indirect
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
gopkg.in/go-playground/validator.v8 v8.18.2
gopkg.in/h2non/filetype.v1 v1.0.5 // indirect
)
Loading