res

package
v0.0.0-...-608c071 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Data

func Data(data interface{}) gin.H

func Err

func Err(errs ...Error) gin.H

Types

type Error

type Error struct {
	Title         string `json:"title"`
	Detail        string `json:"detail"`
	OriginalError error  `json:"original-error"`
}

Jump to

Keyboard shortcuts

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