diff --git a/meta.go b/meta.go index 1ba591a..7615464 100644 --- a/meta.go +++ b/meta.go @@ -15,7 +15,7 @@ type Meta struct { } // Valid validates the contents of a Meta for requires fields. -func (m *Meta) Valid() (bool, error) { +func (m Meta) Valid() (bool, error) { if m.Name == "" { return false, errors.New("name cannot be empty") }