Documentation ¶
Index ¶
Constants ¶
View Source
const ( XMLFormatID sbom.FormatID = "cyclonedx-xml" JSONFormatID sbom.FormatID = "cyclonedx-json" )
View Source
const DefaultVersion = "1.6"
Variables ¶
This section is empty.
Functions ¶
func SpecVersionFromString ¶
func SupportedVersions ¶
func VersionFromSpecVersion ¶
func VersionFromSpecVersion(spec cyclonedx.SpecVersion) string
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewDecoder(format cyclonedx.BOMFileFormat) Decoder
Click to show internal directories.
Click to hide internal directories.