format

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2025 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL