prettyprint

package
v0.0.0-...-370a9b5 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatTextWithColor

func FormatTextWithColor(str, level string, markdown bool) string

FormatTextWithColor colorizes the 'str' value based on the 'pattern'

func Print

func Print(value string)

Print prints text on the console.

func SPrintInColor

func SPrintInColor(str, level string, markdown bool) string

PrintInColor colorizes and prints the 'str' value based on the 'pattern'

func SPrintJson

func SPrintJson(data []byte, prettyJson bool) string

PrintJson prints and returns json value

Types

This section is empty.

Jump to

Keyboard shortcuts

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