Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #544 from jfontan/fix/add-dependency-doc
Browse files Browse the repository at this point in the history
docs: add go-vitess dependency information
  • Loading branch information
ajnavarro authored Nov 13, 2018
2 parents b05455e + 69cd8bd commit 45018bb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
install:
- go get -u github.com/golang/dep/cmd/dep
- touch Gopkg.toml
- dep ensure -v -add "github.com/pilosa/pilosa@f62dbc00b96f596a1f2ef8b4e87ba8ec847eda37" "github.com/moovweb/rubex@b3d9ff6ad7d9b14f94a91c8271cd9ad9e77132e5"
- dep ensure -v -add "github.com/pilosa/pilosa@f62dbc00b96f596a1f2ef8b4e87ba8ec847eda37" "github.com/moovweb/rubex@b3d9ff6ad7d9b14f94a91c8271cd9ad9e77132e5" "gopkg.in/src-d/go-vitess.v1/mysql@ac2d481a3c59a3f203727d92dbb5e1f9ac54e5b4"
- make dependencies

before_script:
Expand Down
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,31 @@ To install it, run:
go get gopkg.in/src-d/go-mysql-server.v0
```

## Dependencies

This version of `go-mysql-server` is compatible with version `v1.1.0` of `gopkg.in/src-d/go-vitess.v1`. You can use a dependency manager like [go 1.11 modules](https://github.com/golang/go/wiki/Modules) or [go dep](https://github.com/golang/dep) to fix the version. Alternatively you can download the specific version to your `GOPATH`:

* go 1.11 modules:

```
go mod edit -require gopkg.in/src-d/go-mysql-server.v0@v0.1.1 -require gopkg.in/src-d/go-vitess.v1@v1.1.0
```

* go dep:

```
dep ensure -v -add gopkg.in/src-d/go-mysql-server.v0@v0.1.1 gopkg.in/src-d/go-vitess.v1/mysql@ac2d481a3c59a3f203727d92dbb5e1f9ac54e5b4
```

* no dependency manager:

```
go get gopkg.in/src-d/go-vitess.v1
cd $GOPATH/src/gopkg.in/src-d/go-vitess.v1
git checkout v1.1.0
cd -
```

## Documentation

* [go-mysql-server godoc](https://godoc.org/github.com/src-d/go-mysql-server)
Expand Down

0 comments on commit 45018bb

Please sign in to comment.