generate easyjson for Event struct

This commit is contained in:
Jay
2026-05-08 09:41:45 -04:00
parent 48dde86abd
commit 047fc9d9a1
4 changed files with 221 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ type Tag []string
// Event represents a Nostr protocol event, with its seven required fields.
// All fields must be present for a valid event.
//easyjson:json
type Event struct {
ID string `json:"id"`
PubKey string `json:"pubkey"`