remove json annotations from event.

This commit is contained in:
fiatjaf 2024-05-29 08:40:54 -03:00
parent 0836352724
commit 2bf6c87b45

View File

@ -11,13 +11,13 @@ import (
)
type Event struct {
ID string `json:"id"`
PubKey string `json:"pubkey"`
CreatedAt Timestamp `json:"created_at"`
Kind int `json:"kind"`
Tags Tags `json:"tags"`
Content string `json:"content"`
Sig string `json:"sig"`
ID string
PubKey string
CreatedAt Timestamp
Kind int
Tags Tags
Content string
Sig string
// anything here will be mashed together with the main event object when serializing
extra map[string]any