diff --git a/internal/guestbook/entry.go b/internal/guestbook/entry.go index 59d13b1..55e36b5 100644 --- a/internal/guestbook/entry.go +++ b/internal/guestbook/entry.go @@ -15,7 +15,7 @@ type Entry struct { Reply *Reply `json:"reply,omitempty"` } -func NewEntry(name, website, message string, hideWebsite bool) (*Entry, error) { +func NewEntry(name, message, website string, hideWebsite bool) (*Entry, error) { if name == "" || message == "" { return nil, errors.New("name and message field are required") }