models

package
v0.0.0-...-9800c9d Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ERROR = iota
	OK
)

Error Type for the customized Errors

Variables

This section is empty.

Functions

This section is empty.

Types

type Errors

type Errors struct {
	// contains filtered or unexported fields
}

func NewError

func NewError(err error, msg string) Errors

func NewOk

func NewOk(ok bool, msg string) Errors

func (*Errors) GetError

func (e *Errors) GetError() error

func (*Errors) GetMessage

func (e *Errors) GetMessage() string

func (*Errors) GetOk

func (e *Errors) GetOk() bool

func (*Errors) GetType

func (e *Errors) GetType() int

Jump to

Keyboard shortcuts

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