Skip to content

Commit

Permalink
Merge pull request #3 from gojuno/gomodules
Browse files Browse the repository at this point in the history
Gomodules
  • Loading branch information
Vadim Petrov authored May 3, 2019
2 parents fbd0fb9 + 0bca9ae commit 1b04ed8
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: go

matrix:
include:
- go: 1.10.x
install:
- go get golang.org/x/tools/go/loader
- go get github.com/gojuno/generator
- go: 1.11.x

env:
- GO111MODULE=on

script:
- make test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Summary
Svgen search for the constants of types which are the aliases for int or string types, i.e.:
# svgen [![Build Status](https://travis-ci.org/gojuno/svgen.svg?branch=master)](https://travis-ci.org/gojuno/svgen)
svgen search for the constants of types which are the aliases for int or string types, i.e.:

```go
package db
Expand Down
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/svgen

require (
github.com/gojuno/generator v0.0.0-20190329131035-2e3c43d0ee59
golang.org/x/tools v0.0.0-20190503030157-5cec639030af
)
9 changes: 9 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
github.com/gojuno/generator v0.0.0-20190329131035-2e3c43d0ee59 h1:zD/fA6sJT3fPreZM9G9A1DSLi14iA9Od4skTDs3fR7A=
github.com/gojuno/generator v0.0.0-20190329131035-2e3c43d0ee59/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/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=

0 comments on commit 1b04ed8

Please sign in to comment.