I defined struct like:
type json-input []struct {
Data string `json:"data"`
}
that Unmarshal json string like
[{"data":"some data"}, {"data":"some data"}]
data := &json-input{}
_ = json.Unmarshal([]byte(resp.Data), data)
How i can use object of this struct for turn of data