printer

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const ReplacedStr = `"GSA_PACKAGE_DATA"`

Variables

This section is empty.

Functions

func Html

func Html(r *result.Result) []byte

func Json

func Json(r *result.Result, options *JsonOption) []byte

func Svg added in v0.3.0

func Svg(r *result.Result, options *SvgOption) []byte

func Text

func Text(r *result.Result, options *CommonOption) string

Types

type CommonOption added in v0.3.0

type CommonOption struct {
	HideSections bool
	HideMain     bool
	HideStd      bool
}

type JsonOption

type JsonOption struct {
	Indent     *int
	HideDetail bool
}

type SvgOption added in v0.3.0

type SvgOption struct {
	CommonOption
	Width       int
	Height      int
	MarginBox   int
	PaddingBox  int
	PaddingRoot int
}

Jump to

Keyboard shortcuts

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