Documentation ¶
Index ¶
- type DataModel
- type IndexClass
- func (this *IndexClass) Build(goft *goft.Goft)
- func (this *IndexClass) GetIndex(ctx *gin.Context) string
- func (this *IndexClass) IndexVoid(c *gin.Context) (void goft.Void)
- func (this *IndexClass) Name() string
- func (this *IndexClass) Test(ctx *gin.Context) goft.Json
- func (this *IndexClass) TestA(c *gin.Context) goft.Json
- func (this *IndexClass) TestUserDetail(ctx *gin.Context) goft.Json
- func (this *IndexClass) TestUsers(ctx *gin.Context) goft.Query
- type MyError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataModel ¶
func NewDataModel ¶
type IndexClass ¶
type IndexClass struct { MyTest *Services.TestService `inject:"-"` MyTest2 *Services.TestService Age *goft.Value `prefix:"user.age"` }
func NewIndexClass ¶
func NewIndexClass() *IndexClass
func (*IndexClass) Build ¶
func (this *IndexClass) Build(goft *goft.Goft)
func (*IndexClass) Name ¶
func (this *IndexClass) Name() string
func (*IndexClass) TestUserDetail ¶
func (this *IndexClass) TestUserDetail(ctx *gin.Context) goft.Json
Click to show internal directories.
Click to hide internal directories.