Skip to content

Commit

Permalink
整理代码
Browse files Browse the repository at this point in the history
  • Loading branch information
pangdogs committed Feb 26, 2023
1 parent e8e8dc4 commit a4654ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec/id.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import "encoding/base64"
type ID [20]byte

func (id ID) String() string {
return base64.RawURLEncoding.EncodeToString(id[0:])
return base64.RawURLEncoding.EncodeToString(id[:])
}

0 comments on commit a4654ee

Please sign in to comment.