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
723b4ab1
Unverified
Commit
723b4ab1
authored
Apr 29, 2020
by
Steven Allen
Committed by
GitHub
Apr 29, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #101 from vmx/patch-1
chore: make comment reflect the code
parents
f458e041
9cb3848e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cid.go
cid.go
+2
-2
No files found.
cid.go
View file @
723b4ab1
...
...
@@ -337,8 +337,8 @@ func (c Cid) Type() uint64 {
}
// String returns the default string representation of a
// Cid. Currently, Base
58
is used as the encoding for the
// multibase string.
// Cid. Currently, Base
32
is used
for CIDV1
as the encoding for the
// multibase string
, Base58 is used for CIDV0
.
func
(c Cid) String()
string
{
switch
c.Version() {
case
0:
...
...
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