helpers

package
v0.0.0-...-0652c7e Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: MIT Imports: 6 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsValue

func AsValue(value string) interface{}

func CamelCase

func CamelCase(src string) string

func OutputJSON

func OutputJSON(data interface{}, pretty bool) error

OutputJSON takes an object and prints it as a JSON string to the stdout. If the pretty attribute is set to true, the JSON will be idented for easy reading.

Types

This section is empty.

Jump to

Keyboard shortcuts

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