common/pkg/web/response.go

7 lines
104 B
Go
Raw Normal View History

2024-05-14 20:36:48 +08:00
package web
type ListResponse[E any] struct {
Total int64 `json:"total"`
List []E `json:"list"`
}