feat 添加response

This commit is contained in:
timerzz 2024-05-14 20:36:48 +08:00
parent f1488e33ff
commit 99c3e85dbc

6
pkg/web/response.go Normal file
View File

@ -0,0 +1,6 @@
package web
type ListResponse[E any] struct {
Total int64 `json:"total"`
List []E `json:"list"`
}