package entity import "go.mongodb.org/mongo-driver/bson/primitive" type Response struct { Status string `json:"status"` Message string `json:"message"` Data interface{} `json:"data"` Error string `json:"error"` } type ListResponse struct { Status string `json:"status"` Message string `json:"message"` Total int `json:"total"` Data interface{} `json:"data"` Error string `json:"error"` } type BatchRequestPayload struct { Ids []primitive.ObjectID `form:"ids" json:"ids"` } type RequestParam map[string]interface{}