common/pkg/web/response.go
2024-05-14 20:36:48 +08:00

7 lines
104 B
Go

package web
type ListResponse[E any] struct {
Total int64 `json:"total"`
List []E `json:"list"`
}