common

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyBody = errors.New("body is empty")

ErrEmptyBody - body is empty

View Source
var ErrNilOutInterface = errors.New("target interface is nil")

ErrNilOutInterface - target interface is nil

View Source
var ErrReadBody = errors.New("can`t read body")

ErrReadBody - can`t read body

Functions

This section is empty.

Types

type E

type E struct {
	Err string `json:"error"`
}

E struct with error

func NewE

func NewE(e error) *E

NewE returns *E with error string

type V

type V interface {
	Validate() error
}

V validator interface

Jump to

Keyboard shortcuts

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