utils

package
v0.0.0-...-ce714fd Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUUIDParse = errors.New("unable to parse uuid")

ErrUUIDParse is uuid parsing error

Functions

func NewEchoErrorResponse

func NewEchoErrorResponse(statusCode int, err error) error

NewEchoErrorResponse is a helper function to return http error

func ParseUUID

func ParseUUID(id string) (uuid.UUID, error)

ParseUUID parse UUID and returns any error

Types

This section is empty.

Jump to

Keyboard shortcuts

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