Skip to content

Commit

Permalink
Add base58 package docs (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
osamingo authored Oct 13, 2016
1 parent 383916c commit 8393547
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions base58/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/*
Package base58 implements indigo.Encoder interface.
*/
package base58
4 changes: 2 additions & 2 deletions encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package indigo

// An Encoder has Encode and Decode methods.
type Encoder interface {
Encode(id uint64) string
Decode(id string) (uint64, error)
Encode(uint64) string
Decode(string) (uint64, error)
}

0 comments on commit 8393547

Please sign in to comment.