diff --git a/internal/guestbook/reply.go b/internal/guestbook/reply.go index ebef0cd..eab9633 100644 --- a/internal/guestbook/reply.go +++ b/internal/guestbook/reply.go @@ -6,7 +6,7 @@ import ( ) type Reply struct { - ID int64 `json:"-"` + ID int64 `json:"id,omitempty"` Created string `json:"created,omitempty"` Message string `json:"message"` }