Skip to content

Commit

Permalink
fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
vintikzzz committed Dec 4, 2024
1 parent ac81630 commit e169d6f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions handlers/resource/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const (

type GetArgs struct {
ID string
Query string
Page uint
PageSize uint
PWD string
Expand Down Expand Up @@ -68,10 +69,11 @@ func (s *Handler) getList(ctx context.Context, args *GetArgs) (l *ra.ListRespons
}

type GetData struct {
Args *GetArgs
Resource *ra.ResourceResponse
List *ra.ListResponse
Item *ra.ListItem
Args *GetArgs
Resource *ra.ResourceResponse
List *ra.ListResponse
Item *ra.ListItem
Instruction string
}

func (s *Handler) get(c *gin.Context) {
Expand Down

0 comments on commit e169d6f

Please sign in to comment.