Documentation
¶
Overview ¶
Package format provides output formatters for attribution data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSV ¶
func CSV(w io.Writer, attributions []attribution.Attribution) error
CSV writes attributions as CSV to the provided io.Writer. The CSV has columns: Name, License, Purl, URL.
func JSON ¶
func JSON(w io.Writer, attributions []attribution.Attribution) error
JSON writes attributions as pretty-printed JSON to the provided io.Writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.