fmtutil

package
v0.0.0-...-c59394f Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2017 License: Apache-2.0 Imports: 2 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONIndentFormat

func JSONIndentFormat(value interface{}) string

JSONIndentFormat returns JSON format with indent

Types

type Format

type Format struct {
	Prefix string
}

Format contains a prefix

func NewFormat

func NewFormat(prefix string) *Format

NewFormat returns a new Format

func (Format) Println

func (f Format) Println(args ...interface{})

Println adds prefix before format

func (Format) Sprintf

func (f Format) Sprintf(format string, a ...interface{}) string

Sprintf adds prefix before format

func (Format) Sprintln

func (f Format) Sprintln(args ...interface{}) string

Sprintln adds prefix before format

Jump to

Keyboard shortcuts

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