format

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2018 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(value bool) string

Bool formats the given boolean.

func Bytes added in v1.1.0

func Bytes(value []byte) string

Bytes formats the give bytes.

func Float

func Float(value float64) string

Float formats the given number.

func Int

func Int(value int64) string

Int formats the given number.

func String

func String(value string) string

String formats the given string.

func Time

func Time(value time.Time) string

Time formats the given time.

func Uint

func Uint(value uint64) string

Uint formats the given number.

func Value

func Value(arg interface{}) string

Value formats the given value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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