Skip to content

Commit

Permalink
Add CodEquals function
Browse files Browse the repository at this point in the history
  • Loading branch information
unitoftime committed Feb 8, 2024
1 parent 17550d7 commit fbba72d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cod_encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import (
"github.com/unitoftime/cod/backend"
)

func (t Id) CodEquals(tt Id) bool {
return t == tt
}

func (t Id) EncodeCod(bs []byte) []byte {

{
Expand Down

0 comments on commit fbba72d

Please sign in to comment.