render

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToBinarySI

func BytesToBinarySI(bytes int64) (float64, string)

BytesToBinarySI converts bytes to human readable string using binary SI units

func PrettyPrintJSON

func PrettyPrintJSON(body []byte, writer io.Writer) error

PrettyPrintJSON pretty prints JSON

func String added in v0.7.1

func String(body []byte, writer io.Writer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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