print

package
v0.0.0-...-fd58ac6 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fprintfln

func Fprintfln(w io.Writer, format string, a ...interface{}) (n int, err error)

Fprintfln formats according to a format specifier and writes to w and append a new line at the end. It returns the number of bytes written and any write error encountered.

func Fyaml

func Fyaml(w io.Writer, a interface{}) (n int, err error)

Fyaml formats according to a format specifier and writes to w and formats it to yaml. It returns the number of bytes written and any write error encountered.

func JSON

func JSON(a interface{}) (n int, err error)

JSON formats according to a format specifier and writes to standard output and formats it to pretty json. It returns the number of bytes written and any write error encountered.

func Printfln

func Printfln(format string, a ...interface{}) (n int, err error)

Printfln formats according to a format specifier and writes to standard output and append a new line at the end. It returns the number of bytes written and any write error encountered.

func Yaml

func Yaml(a interface{}) (n int, err error)

Yaml formats according to a format specifier and writes to standard output and formats it to pretty json. It returns the number of bytes written and any write error encountered.

Types

This section is empty.

Jump to

Keyboard shortcuts

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