From 2f278526a91303bd07bbc30f54552136dd893e17 Mon Sep 17 00:00:00 2001 From: tuannt20 <105765641+tuannt20@users.noreply.github.com> Date: Thu, 24 Nov 2022 09:49:41 +0700 Subject: [PATCH] add GetCampaign --- client/campaign.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/campaign.go b/client/campaign.go index 7a210e6..82649d3 100644 --- a/client/campaign.go +++ b/client/campaign.go @@ -11,6 +11,11 @@ import ( // Campaign ... type Campaign struct{} +// GetCampaign ... +func GetCampaign() Campaign { + return Campaign{} +} + // GetCampaignTransaction ... func (c Campaign) GetCampaignTransaction(p model.GetCampaignTransactionsRequest) (*model.ResponseCampaignTransactionAll, error) { msg, err := natsio.GetServer().Request(subject.Campaign.GetListCampaignTransactionAdminInfoByIDs, toBytes(p))