Created
July 24, 2015 20:58
-
-
Save kentquirk/f37941e32447c94ebb29 to your computer and use it in GitHub Desktop.
ugly struct
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Data struct { | |
Data []struct { | |
Data struct { | |
Stimulus string `json:"stimulus,omitempty"` | |
Template string `json:"template,omitempty"` | |
Type string `json:"type,omitempty"` | |
Validation struct { | |
ScoringType string `json:"scoring_type,omitempty"` | |
ValidResponse struct { | |
Score int `json:"score,omitempty"` | |
Value []string `json:"value,omitempty"` | |
} `json:"valid_response,omitempty"` | |
} `json:"validation,omitempty"` | |
} `json:"data,omitempty"` | |
Reference string `json:"reference,omitempty"` | |
Type string `json:"type,omitempty"` | |
WidgetType string `json:"widget_type,omitempty"` | |
} `json:"data,omitempty"` | |
Meta struct { | |
Next string `json:"next,omitempty"` | |
Records int `json:"records,omitempty"` | |
Status bool `json:"status,omitempty"` | |
Timestamp int `json:"timestamp,omitempty"` | |
} `json:"meta,omitempty"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment