From 30bead253d7456b1957194a3fd75783647ed4d52 Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Thu, 24 Mar 2022 16:48:08 +0700 Subject: [PATCH] [Update] Response --- struct.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/struct.go b/struct.go index e9aa117..c4e5ddc 100644 --- a/struct.go +++ b/struct.go @@ -11,12 +11,12 @@ type RequestBody struct { // Response // response to service es type Response struct { - Success bool `json:"success"` - Data []string `json:"data,omitempty"` - Total int64 `json:"total,omitempty"` - Page int64 `json:"page,omitempty"` - Limit int64 `json:"limit,omitempty"` - Message string `json:"message"` + Success bool `json:"success"` + Data []byte `json:"data,omitempty"` + Total int64 `json:"total,omitempty"` + Page int64 `json:"page,omitempty"` + Limit int64 `json:"limit,omitempty"` + Message string `json:"message"` } // Payload ...