logic

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAndCheckParams

func ParseAndCheckParams[T any, P BasicRequest[T]](c *gin.Context) (params http.RequestType[T], err error)

ParseAndCheckParams Parse and check params.

Types

type Basic

type Basic interface {
	ParseAndCheckParams(c *gin.Context) (err error)
}

type BasicRequest

type BasicRequest[T any] interface {
	*T
	Basic
}

Jump to

Keyboard shortcuts

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