From 509622432b2e0691b7d4cf2ccf210bd639d69d63 Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 25 Mar 2020 00:50:20 +0530 Subject: Add bpod support --- bpod/json.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpod') diff --git a/bpod/json.go b/bpod/json.go index 98b43eb..02f6fe1 100644 --- a/bpod/json.go +++ b/bpod/json.go @@ -27,9 +27,9 @@ type List struct { } // UnmarshalJson will take body as input & unmarshal it to res, -func UnmarshalJson(body string) (Res, error) { +func UnmarshalJson(body string) (BPOD, error) { list := List{} - res := Res{} + res := BPOD{} err := json.Unmarshal([]byte(body), &list) if err != nil { -- cgit 1.4.1-2-gfad0