github.com/nextlinux/gosbom@v0.81.1-0.20230627115839-1ff50c281391/gosbom/formats/text/format.go (about)

     1  package text
     2  
     3  import (
     4  	"github.com/nextlinux/gosbom/gosbom/sbom"
     5  )
     6  
     7  const ID sbom.FormatID = "gosbom-text"
     8  
     9  func Format() sbom.Format {
    10  	return sbom.NewFormat(
    11  		sbom.AnyVersion,
    12  		encoder,
    13  		nil,
    14  		nil,
    15  		ID, "text",
    16  	)
    17  }