ent

package
v0.5.52 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntCounterController

type EntCounterController struct {
	// contains filtered or unexported fields
}

EntCounterController is a simple demo of how to make a controller, registered via a local `init` function, which uses `ent` and generated OAS types to serve requests.

func (*EntCounterController) CreateCounter

func (cc *EntCounterController) CreateCounter(c *gin.Context)

func (*EntCounterController) GetCounter

func (cc *EntCounterController) GetCounter(c *gin.Context)

func (*EntCounterController) Register

func (cc *EntCounterController) Register(registry *registry.Registry, router gin.IRouter) error

func (*EntCounterController) UpsertCounter

func (cc *EntCounterController) UpsertCounter(c *gin.Context)

Jump to

Keyboard shortcuts

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