logutils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 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