Skip to content

v0.4.0 — Public Release

Choose a tag to compare

@LarsArtmann LarsArtmann released this 16 May 22:19

go-output v0.4.0 — Public Release

A Go library that formats structured data into 12 output formats with type-safe enums and zero-config color support.

What's New

  • MIT License — fully open source
  • 27 doc comments added — all exported symbols documented for pkg.go.dev
  • README rewritten for general Go community audience
  • Dependencies clarified — root module has ZERO lipgloss dependencies

Supported Formats

Category Formats
Table table, json, csv, tsv, xml, markdown, yaml, d2
Tree tree, html
Graph d2, mermaid, dot

Quick Start

import "github.com/larsartmann/go-output"

md := output.NewMarkdownTable()
md.SetHeaders([]string{"Name", "Status"})
md.AddRow([]string{"go-output", "shipped"})
out, _ := md.Render()
fmt.Println(out)

Install

go get github.com/larsartmann/go-output