diff options
author | Andinus <andinus@nand.sh> | 2020-03-25 00:50:20 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-03-25 00:50:20 +0530 |
commit | 509622432b2e0691b7d4cf2ccf210bd639d69d63 (patch) | |
tree | 04582d611453caf8830107e06853826038c40f90 /bpod | |
parent | 989d6341eeeddd46eaf016bacb89ad533211c0b8 (diff) | |
download | cetus-509622432b2e0691b7d4cf2ccf210bd639d69d63.tar.gz |
Add bpod support
Diffstat (limited to 'bpod')
-rw-r--r-- | bpod/json.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |