Skip to content

Commit

Permalink
Merge pull request #5 from gojuno/gomodules
Browse files Browse the repository at this point in the history
Add go.mod
  • Loading branch information
vpbarb authored May 3, 2019
2 parents 1d08f86 + 18a3b8d commit 9bd9d76
Show file tree
Hide file tree
Showing 46 changed files with 24 additions and 17,207 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tests/example_metrics.go
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
language: go

go:
- 1.x
- master
- 1.11.x
- tip

install:
- go get github.com/golang/lint/golint
env:
- GO111MODULE=on

script:
- cd $TRAVIS_BUILD_DIR && go build main.go
- cd $TRAVIS_BUILD_DIR && go run main.go -i github.com/gojuno/metricsgen/tests.Example -o ./tests/
26 changes: 0 additions & 26 deletions Gopkg.lock

This file was deleted.

38 changes: 0 additions & 38 deletions Gopkg.toml

This file was deleted.

2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test:
go run main.go -i github.com/gojuno/metricsgen/tests.Example -o ./tests/
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/gojuno/metricsgen

require (
github.com/gojuno/generator v0.0.0-20180202101724-2224a98ac052
golang.org/x/tools v0.0.0-20190503030157-5cec639030af
)
10 changes: 10 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
github.com/gojuno/generator v0.0.0-20180202101724-2224a98ac052 h1:6u7trxwPV9ZkqIfnGELEaOSX9UdV8K5OiHQoGAoqWRk=
github.com/gojuno/generator v0.0.0-20180202101724-2224a98ac052/go.mod h1:4IWfQdtkCP4cdnSO6aQTW1nS7jK6xGuhbZveVkPPFRg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20190503030157-5cec639030af h1:U7s9O/hmvejOFm1G2iowDUDMo8pHZ6yUXawCaR1jDM4=
golang.org/x/tools v0.0.0-20190503030157-5cec639030af/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
57 changes: 0 additions & 57 deletions tests/example_metrics.go

This file was deleted.

24 changes: 0 additions & 24 deletions vendor/github.com/gojuno/generator/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions vendor/github.com/gojuno/generator/.travis.yml

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/github.com/gojuno/generator/LICENSE

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/gojuno/generator/README.md

This file was deleted.

Loading

0 comments on commit 9bd9d76

Please sign in to comment.