complete role crud

This commit is contained in:
yanghao05
2023-02-04 19:54:29 +08:00
parent 2fb6bba903
commit 285e1f1c51
13 changed files with 270 additions and 19 deletions

6
common/response/page.go Normal file
View File

@@ -0,0 +1,6 @@
package response
type PageResponse[T any] struct {
Items []T `json:"items,omitempty"`
Total uint64 `json:"total,omitempty"`
}