mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
* improve struct and field comments and incorporate into json schema Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * address review feedback Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
14 lines
520 B
Go
14 lines
520 B
Go
package pkg
|
|
|
|
// WordpressPluginEntry represents all metadata parsed from the wordpress plugin file
|
|
type WordpressPluginEntry struct {
|
|
// PluginInstallDirectory is directory name where the plugin is installed
|
|
PluginInstallDirectory string `mapstructure:"pluginInstallDirectory" json:"pluginInstallDirectory"`
|
|
|
|
// Author is plugin author name
|
|
Author string `mapstructure:"author" json:"author,omitempty"`
|
|
|
|
// AuthorURI is author's website URL
|
|
AuthorURI string `mapstructure:"authorUri" json:"authorUri,omitempty"`
|
|
}
|