Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-cid
Commits
3da5bbbe
Unverified
Commit
3da5bbbe
authored
Dec 09, 2019
by
Steven Allen
Committed by
GitHub
Dec 09, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #92 from b5/chore_remove_gx
docs(readme): remove reference to gx
parents
9d598bbd
c91a7958
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
22 deletions
+2
-22
README.md
README.md
+2
-22
No files found.
README.md
View file @
3da5bbbe
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment