Skip to content

Commit

Permalink
correcting a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jan 21, 2018
1 parent a2e09d0 commit 9d02139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/store/types/uidgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (ug *UidGenerator) DecodeUid(uid Uid) int64 {
return int64(binary.LittleEndian.Uint64(dst))
}

// EncodeUint64 takes a positive int64 and encrypts it into a Uid.
// EncodeInt64 takes a positive int64 and encrypts it into a Uid.
// This is needed for go/sql compatibility where uint64 with high bit
// set is unsupported and possibly for other uses such as MySQL's recommendation
// for non-random primary keys.
Expand Down

0 comments on commit 9d02139

Please sign in to comment.