Unverified Commit 3da5bbbe authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #92 from b5/chore_remove_gx

docs(readme): remove reference to gx
parents 9d598bbd c91a7958
......@@ -34,36 +34,16 @@ It is used in `go-ipfs` and related packages to refer to a typed hunk of data.
go get github.com/ipfs/go-cid
```
Note that `go-cid` is packaged with Gx, so it is recommended to use Gx to install and use it (see Usage section).
## Usage
### Using Gx and Gx-go
This module is packaged with [Gx](https://github.com/whyrusleeping/gx). In order to use it in your own project it is recommended that you:
```sh
go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go
cd <your-project-repository>
gx init
gx import github.com/ipfs/go-cid
gx install --global
gx-go --rewrite
```
Please check [Gx](https://github.com/whyrusleeping/gx) and [Gx-go](https://github.com/whyrusleeping/gx-go) documentation for more information.
### Running tests
Before running tests, please run:
Run tests with `go test` from the directory root
```sh
make deps
go test
```
This will make sure that dependencies are rewritten to known working versions.
### Examples
#### Parsing string input from users
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment