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) UpsertCounter ¶
func (cc *EntCounterController) UpsertCounter(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.