restructure
This commit is contained in:
6
ds/response/page.go
Normal file
6
ds/response/page.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package response
|
||||
|
||||
type PageResponse[T any] struct {
|
||||
Items []T `json:"items,omitempty"`
|
||||
Total uint64 `json:"total,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user