output

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONErrorOut

func JSONErrorOut(err error)

JSONErrorOut outputs an error

func JSONErrorStrOut

func JSONErrorStrOut(s string)

JSONErrorStrOut outputs an error string

func JSONOut

func JSONOut(v interface{})

JSONOut outputs a specific interface

Types

type JSONT

type JSONT map[string]interface{}

JSONT is a simple type for generating JSON output

Jump to

Keyboard shortcuts

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