jsonrender

package
v0.511.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

README

JSON Output Module

Machine-oriented JSON renderer for internal audit results.

Files

File Responsibility
render.go Marshals audit results into stable indented JSON
render_test.go Verifies JSON field stability and round-trip decoding

Exports

  • Render(result report.Result) ([]byte, error)

Dependencies

  • Upstream: CLI and future API adapters that need machine-readable output
  • Downstream: internal/domain/report

Update Rule

  • If members/interfaces/dependencies change, update this file in same change.

Documentation

Overview

Package jsonrender renders audit results as machine-oriented JSON. input: internal report results from the audit application flow output: stable JSON bytes for machine consumption pos: infrastructure output adapter for structured renderer output note: if this file changes, update this header and module README.md.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(result report.Result) ([]byte, error)

Render formats an audit result into indented JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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