output

package
v0.0.0-...-c11d38b Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(a interface{}, format Format) error

Print ...

func WriteToFile

func WriteToFile(a interface{}, format Format, pth string) (string, error)

WriteToFile ...

Types

type Format

type Format uint8

Format ...

const (
	// RawFormat ...
	RawFormat Format = iota
	// JSONFormat ...
	JSONFormat
	// YAMLFormat ...
	YAMLFormat
)

func ParseFormat

func ParseFormat(format string) (Format, error)

ParseFormat ...

func (Format) String

func (format Format) String() string

String ...

Jump to

Keyboard shortcuts

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