dokumentasi antrian operasi
This commit is contained in:
@@ -11,7 +11,7 @@ type BaseResponse[T any] struct {
|
||||
Success bool `json:"success"`
|
||||
Code int `json:"code"`
|
||||
Message string `json:"message"`
|
||||
Data T `json:"data"`
|
||||
Data T `json:"data" swaggertype:"object"`
|
||||
}
|
||||
|
||||
func ToBaseResponse[T any](data T, isSuccess bool, code int, message string) BaseResponse[T] {
|
||||
|
||||
Reference in New Issue
Block a user