package format

import "github.com/lucor/goinfo/format"

Index

Types

type HTMLDetails

type HTMLDetails struct{}

HTMLDetails writes reports in HTML Details format

func (*HTMLDetails) Write

func (w *HTMLDetails) Write(out io.Writer, reporters []goinfo.Reporter) error

Write writes the reports collected by reporters to out

type JSON

type JSON struct{}

JSON writes reports in JSON format

func (*JSON) Write

func (w *JSON) Write(out io.Writer, reporters []goinfo.Reporter) error

Write writes the reports collected by reporters to out

type Text

type Text struct{}

Text writes reports in text format

func (*Text) Write

func (w *Text) Write(out io.Writer, reporters []goinfo.Reporter) error

Write writes the reports collected by reporters to out

Source Files

format.go html_details.go json.go text.go

Version
v0.9.0 (latest)
Published
Feb 26, 2023
Platform
linux/amd64
Imports
6 packages
Last checked
2 hours ago

Tools for package owners.