Documentation
¶
Index ¶
- Constants
- Variables
- func CheckRelatedFile(file string) (string, bool, bool)
- func FormatVersion(version string) string
- func GenerateCpes(version string, paths []string) []string
- func Scan(data interface{}) interface{}
- func SplitPath(path string) []string
- type GoBinMetadata
- type GoDevelMetadata
- type GoModMetadata
Constants ¶
View Source
const Type string = "golang"
Variables ¶
View Source
var Manifests = []string{"go.mod"}
Functions ¶
func GenerateCpes ¶
Types ¶
type GoBinMetadata ¶
type GoBinMetadata struct {
Architecture string `json:"architecture,omitempty"`
Compiler string `json:"compiler,omitempty"`
OS string `json:"os,omitempty"`
GoCompileRelease string `json:"goCompileRelease,omitempty"`
H1Digest string `json:"h1Digest,omitempty"`
Path string `json:"path,omitempty"`
Version string `json:"version,omitempty"`
}
GoBinMetadata go binary metadata
type GoDevelMetadata ¶
type GoDevelMetadata struct {
Path string `json:"path"`
Version string `json:"version"`
GoCompileRelease string `json:"goCompileRelease"`
}
GoDevelMetadata - go devel metadata
type GoModMetadata ¶
GoModMetadata go module metadata
Click to show internal directories.
Click to hide internal directories.