class

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexClass

type IndexClass struct {
}

func NewIndexClass

func NewIndexClass() *IndexClass

func (*IndexClass) Build

func (this *IndexClass) Build(goft *goft.Goft)

func (*IndexClass) GetIndex

func (this *IndexClass) GetIndex() gin.HandlerFunc

type UserClass

type UserClass struct {
	*goft.GormAdapter
	Age *goft.Value `prefix:"user.age"`
}

func NewUserClass

func NewUserClass() *UserClass

func (*UserClass) Build

func (this *UserClass) Build(goft *goft.Goft)

func (*UserClass) GetUsername

func (this *UserClass) GetUsername(ctx *gin.Context) string

func (*UserClass) UserDetail

func (this *UserClass) UserDetail(ctx *gin.Context) goft.Model

func (*UserClass) UserList

func (this *UserClass) UserList(ctx *gin.Context) goft.Models

Jump to

Keyboard shortcuts

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