formatter

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(data interface{}) (string, error)

Format generates markdown output from repository context data

func SaveToFile

func SaveToFile(data interface{}, path string) error

SaveToFile saves formatted data to a file

Types

type ContextData

type ContextData struct {
	ScanResult *scanner.ScanResult
	GitInfo    string
}

ContextData contains all the data for generating repository context output

func NewContextData

func NewContextData(scanResult *scanner.ScanResult, rootPath string) (*ContextData, error)

NewContextData creates ContextData from scan results

Jump to

Keyboard shortcuts

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