@@ -252,19 +252,16 @@ func verifySend(opts docopt.Opts) {
252252 res , err := client .Do (req )
253253 if err != nil {
254254 panic (err )
255- return
256255 }
257256 resBody , err := io .ReadAll (res .Body )
258257 if err != nil {
259258 panic (err )
260- return
261259 }
262260
263261 result := map [string ]any {}
264262 err = json .Unmarshal (resBody , & result )
265263 if err != nil {
266264 panic (err )
267- return
268265 }
269266
270267 printResult (result )
@@ -306,19 +303,16 @@ func verifyNetwork(opts docopt.Opts) {
306303 res , err := client .Do (req )
307304 if err != nil {
308305 panic (err )
309- return
310306 }
311307 resBody , err := io .ReadAll (res .Body )
312308 if err != nil {
313309 panic (err )
314- return
315310 }
316311
317312 result := map [string ]any {}
318313 err = json .Unmarshal (resBody , & result )
319314 if err != nil {
320315 panic (err )
321- return
322316 }
323317
324318 printResult (result )
@@ -360,19 +354,16 @@ func loginNetwork(opts docopt.Opts) {
360354 res , err := client .Do (req )
361355 if err != nil {
362356 panic (err )
363- return
364357 }
365358 resBody , err := io .ReadAll (res .Body )
366359 if err != nil {
367360 panic (err )
368- return
369361 }
370362
371363 result := map [string ]any {}
372364 err = json .Unmarshal (resBody , & result )
373365 if err != nil {
374366 panic (err )
375- return
376367 }
377368
378369 printResult (result )
@@ -418,12 +409,10 @@ func clientId(opts docopt.Opts) {
418409 res , err := client .Do (req )
419410 if err != nil {
420411 panic (err )
421- return
422412 }
423413 resBody , err := io .ReadAll (res .Body )
424414 if err != nil {
425415 panic (err )
426- return
427416 }
428417
429418 fmt .Printf ("response: %s\n " , resBody )
@@ -432,7 +421,6 @@ func clientId(opts docopt.Opts) {
432421 err = json .Unmarshal (resBody , & result )
433422 if err != nil {
434423 panic (err )
435- return
436424 }
437425
438426 printResult (result )
0 commit comments