From c4b9b30ae166574b861a3517a6f3f20cd9c8ba35 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 27 Sep 2017 17:21:34 +0900 Subject: [PATCH] ing --- subscribe_message.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/subscribe_message.go b/subscribe_message.go index c4002bd..b16b43a 100644 --- a/subscribe_message.go +++ b/subscribe_message.go @@ -1,8 +1,10 @@ package overflow_subscriber +import "encoding/json" + type SubscribeMessage struct { - Targets []string `json:"targets"` - Message []byte `json:"message"` + Targets []string `json:"targets"` + Message *json.RawMessage `json:"message"` } type SubscribeMessageBody struct {