output

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSON

func JSON(v interface{})

func PrintError

func PrintError(code, message string)

func PrintErrorAndExit

func PrintErrorAndExit(code, message string, exitCode int)

Types

type ErrorResponse

type ErrorResponse struct {
	Error string `json:"error"`
	Code  string `json:"code"`
}

Jump to

Keyboard shortcuts

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