pretty

package
v0.0.0-...-b4acfce Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlreadyExistError

func NewAlreadyExistError(k Kind) string

func NewBadRequest

func NewBadRequest() string

func NewCreateMessage

func NewCreateMessage(k Kind) string

func NewDecodeError

func NewDecodeError(k Kind) string

func NewErrorConvert

func NewErrorConvert(k Kind) string

func NewErrorGet

func NewErrorGet(k Kind) string

func NewErrorList

func NewErrorList(k Kind) string

func NewErrorRemove

func NewErrorRemove(k Kind) string

func NewErrorSave

func NewErrorSave(k Kind) string

func NewErrorUpdate

func NewErrorUpdate(k Kind) string

func NewErrorValidate

func NewErrorValidate(k Kind, errs validator.ValidationErrors) string

func NewForbiddenError

func NewForbiddenError(k Kind) string

func NewInternalError

func NewInternalError() string

func NewNotFoundError

func NewNotFoundError(k Kind) string

func NewRemoveMessage

func NewRemoveMessage(k Kind) string

func NewUpdateMessage

func NewUpdateMessage(k Kind) string

Types

type Kind

type Kind int
const (
	Course Kind = iota
	Courses
	CourseResult
	CourseResults
	User
	Users
	Task
	Tasks
)

func (Kind) String

func (k Kind) String() string

Jump to

Keyboard shortcuts

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