watcher/pkg/model/response.go
2024-04-10 17:36:56 +08:00

7 lines
106 B
Go

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