ginhelpers

package
v0.0.0-...-8bcb013 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadRequest = errors.Errorf("invalid input")
View Source
var ErrForbidden = errors.Errorf("forbidden")
View Source
var ErrNeedsLogin = errors.Errorf("needs login")
View Source
var ErrNotFound = errors.Errorf("not found")

Functions

func API

func API[T any](c *gin.Context, result mo.Result[T])

func HTML

func HTML[T any](c *gin.Context, templateName string, result mo.Result[T])

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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