logutils

package
v0.0.45 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormatPrinter

type FormatPrinter struct {
	// contains filtered or unexported fields
}

FormatPrinter is a simple wrapper that implements the Stringer interface by printing an arbitrary object with a given format specifier/verb.

func Format

func Format(verb string, item interface{}) FormatPrinter

func (FormatPrinter) String

func (v FormatPrinter) String() string

Jump to

Keyboard shortcuts

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