common

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONOrDefault added in v0.1.2

func JSONOrDefault(j null.JSON) json.RawMessage

Types

type ConflictError

type ConflictError struct {
	Err error
}

func (*ConflictError) Error

func (r *ConflictError) Error() string

type ErrorResponse

type ErrorResponse struct {
	Field string
	Tag   string
	Value string
}

type InternalError

type InternalError struct {
	Err error
}

func (*InternalError) Error

func (r *InternalError) Error() string

type NotFoundError

type NotFoundError struct {
	Err error
}

func (*NotFoundError) Error

func (r *NotFoundError) Error() string

type ValidationError

type ValidationError struct {
	Err error
}

func (*ValidationError) Error

func (r *ValidationError) Error() string

Jump to

Keyboard shortcuts

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