SHARE
TWEET

Untitled

a guest Jun 17th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ioutil.WriteFile("Example.txt", body2, 0777)
  2.  
  3.     type images struct {
  4.         Images []string `json:"images"`
  5.     }
  6.  
  7.     data4 := images{}
  8.     err4 := json.Unmarshal(body2, &data4)
  9.     if err4 != nil {
  10.         log.Println(err4.Error())
  11.         return
  12.     }
  13.  
  14.     fmt.Println(data4)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top