Update go-bindata ref and add support for modules (#264)

* Replace go-bindata unmainted version and allow go module support for go-bindata

* Updated travis pipeline to do module builds also

* Still need to pull other modules

* Leaving go get dependencies as is
This commit is contained in:
Kainoa Seto 2019-01-24 09:51:06 -08:00 коммит произвёл Zaq? Wiedmann
Родитель ef149f95e0
Коммит d746697ca5
4 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -8,6 +8,11 @@ go:
- 1.11.x
- 1.10.x
matrix:
include:
- go: 1.11.x
env: GO111MODULE=on
go_import_path: github.com/metaverse/truss
before_install:

Просмотреть файл

@ -12,7 +12,7 @@ dependencies:
go get -u github.com/gogo/protobuf/protoc-gen-gogo
go get -u github.com/gogo/protobuf/protoc-gen-gogofaster
go get -u github.com/gogo/protobuf/proto
go get -u github.com/jteeuwen/go-bindata/...
go get -u github.com/kevinburke/go-bindata/...
# Generate go files containing the all template files in []byte form
gobindata:

1
go.mod
Просмотреть файл

@ -9,6 +9,7 @@ require (
github.com/gogo/protobuf v1.2.0
github.com/gorilla/context v1.1.1
github.com/gorilla/mux v1.6.2
github.com/kevinburke/go-bindata v3.13.0+incompatible
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/pkg/errors v0.8.0
github.com/pmezard/go-difflib v1.0.0

2
go.sum
Просмотреть файл

@ -8,6 +8,8 @@ github.com/gogo/protobuf v1.2.0 h1:xU6/SpYbvkNYiptHJYEDRseDLvYE7wSqhYYNy0QSUzI=
github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
github.com/kevinburke/go-bindata v3.13.0+incompatible h1:hThDhUBH4KjTyhfXfOgacEPfFBNjltnzl/xzfLfrPoQ=
github.com/kevinburke/go-bindata v3.13.0+incompatible/go.mod h1:/pEEZ72flUW2p0yi30bslSp9YqD9pysLxunQDdb2CPM=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=