controllers

package
v0.0.0-...-5be1069 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentUser

func CurrentUser(c *gin.Context) models.User

func GetCurrentUser

func GetCurrentUser(c *gin.Context)

func OperationsCreate

func OperationsCreate(c *gin.Context)

func OperationsDelete

func OperationsDelete(c *gin.Context)

func OperationsIndex

func OperationsIndex(c *gin.Context)

func OperationsShow

func OperationsShow(c *gin.Context)

func OperationsUpdate

func OperationsUpdate(c *gin.Context)

func RecordsCreate

func RecordsCreate(c *gin.Context)

func RecordsDelete

func RecordsDelete(c *gin.Context)

func RecordsIndex

func RecordsIndex(c *gin.Context)

func UsersCreate

func UsersCreate(c *gin.Context)

func UsersDelete

func UsersDelete(c *gin.Context)

func UsersIndex

func UsersIndex(c *gin.Context)

func UsersShow

func UsersShow(c *gin.Context)

func UsersUpdate

func UsersUpdate(c *gin.Context)

Types

type Pagination

type Pagination struct {
	Limit int    `json:"limit"`
	Page  int    `json:"page"`
	Sort  string `json:"sort"`
	Like  string `json:"like"`
}

Jump to

Keyboard shortcuts

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