outpututil

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteFile

func WriteFile(document *sbom.Document, format formats.Format, opts *options.Options, filePath string) error

func WriteStream

func WriteStream(document *sbom.Document, format formats.Format, opts *options.Options, stream io.WriteCloser) error

Types

type Table

type Table struct {
	// contains filtered or unexported fields
}

func NewTable

func NewTable(opts ...TableOption) *Table

func (*Table) AddRow

func (t *Table) AddRow(doc *sbom.Document, backend *db.Backend)

func (*Table) String

func (t *Table) String() string

type TableOption

type TableOption func(*Table)

func WithListFormat

func WithListFormat() TableOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳