eventstore tests.

This commit is contained in:
fiatjaf
2025-04-18 11:27:22 -03:00
parent 32efaa7c58
commit 92c2de6294
32 changed files with 355 additions and 652 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ var ZeroID = [32]byte{}
// ID represents an event id
type ID [32]byte
func (id ID) String() string { return hex.EncodeToString(id[:]) }
func (id ID) String() string { return "id::" + id.Hex() }
func (id ID) Hex() string { return hex.EncodeToString(id[:]) }
func IDFromHex(idh string) (ID, error) {