app

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoMigrate

func AutoMigrate()

func Create

func Create(c *gin.Context)

func DefaultRegister

func DefaultRegister(router *gin.RouterGroup)

func Delete

func Delete(c *gin.Context)

func List

func List(c *gin.Context)

func Update

func Update(c *gin.Context)

Types

type ExampleModel

type ExampleModel struct {
	gorm.Model
	Content string `json:"content"`
}

type ExampleSerializer

type ExampleSerializer struct {
	ID      uint   `json:"id"`
	Content string `json:"content" binding:"required"`
}

Jump to

Keyboard shortcuts

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