response

package
v0.0.0-...-db6235c Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppError

func AppError(ctx *gin.Context, err appError.App)

func BadRequest

func BadRequest(ctx *gin.Context, err error)

TODO: I have to delete the v10 Lib dependency implementing my validation

func Created

func Created(ctx *gin.Context)

func GenericError

func GenericError(ctx *gin.Context, err error)

func NoContent

func NoContent(ctx *gin.Context)

func Success

func Success(ctx *gin.Context)

func SuccessWithCollection

func SuccessWithCollection(ctx *gin.Context, data any)

func SuccessWithData

func SuccessWithData(ctx *gin.Context, data any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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