metadata

package
v0.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "metadata",
	Requires: []*analysis.Analyzer{archive.Analyzer},
	Run:      run,
	Rules:    []*analysis.Rule{missingMetadata},
}

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	ID         string       `json:"id"`
	Name       string       `json:"name"`
	Type       string       `json:"type"`
	Info       MetadataInfo `json:"info"`
	Executable string       `json:"executable"`
	Backend    bool         `json:"backend"`
}

type MetadataAuthor

type MetadataAuthor struct {
	URL string `json:"url"`
}

type MetadataInfo

type MetadataInfo struct {
	Author      MetadataAuthor        `json:"author"`
	Screenshots []MetadataScreenshots `json:"screenshots"`
	Logos       MetadataLogos         `json:"logos"`
	Links       []MetadataLink        `json:"links"`
	Version     string                `json:"version"`
}
type MetadataLink struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

type MetadataLogos

type MetadataLogos struct {
	Small string `json:"small"`
	Large string `json:"large"`
}

type MetadataScreenshots

type MetadataScreenshots struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL