diff --git a/metadata/media_metadata.go b/metadata/media_metadata.go index cdaedc1..9222da5 100644 --- a/metadata/media_metadata.go +++ b/metadata/media_metadata.go @@ -24,3 +24,6 @@ func NewMediaMetadata(name string, details MediaMetadataDetails, parents []Metad ExtraMetadata: extraMetadata, } } +func NewEmptyMediaMetadata() *MediaMetadata { + return &MediaMetadata{} +} diff --git a/metadata/web_app.go b/metadata/web_app.go index 2ad47e2..0e70e33 100644 --- a/metadata/web_app.go +++ b/metadata/web_app.go @@ -22,3 +22,6 @@ func NewWebAppMetadata(name string, tryFiles []string, extraMetadata ExtraMetada Paths: paths, } } +func NewEmptyWebAppMetadata() *WebAppMetadata { + return &WebAppMetadata{} +}