display

package
v0.0.0-...-910450c Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package display provides utilities for displaying content to the CLI user.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSON

func JSON(v interface{}) error

JSON pushes to stdout a pretty printed representation of a given value `v`.

func MicroXMR

func MicroXMR(v uint64) string

func NewTable

func NewTable() *uitable.Table

NewTable instantiates a new table instance that already has pre-defined options set so it's consistent across all pretty prints of the commands.

func PreciseXMR

func PreciseXMR(v uint64) string

func ShortenAddress

func ShortenAddress(addr string) string

func XMR

func XMR(v uint64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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