util

package
v0.0.0-...-aebebc0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUniqueConstraintError

func IsUniqueConstraintError(err error) bool

Types

type APIError

type APIError struct {
	Message string `json:"message"`
}

type ValidationError

type ValidationError struct {
	Field   string `json:"field"`
	Message string `json:"message"`
}

type ValidationErrors

type ValidationErrors struct {
	Message string            `json:"message"`
	Errors  []ValidationError `json:"errors"`
}

Jump to

Keyboard shortcuts

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