# HG changeset patch # User Mikael Berthe # Date 1492072542 -7200 # Node ID e327896577ddea4a8d7e7c320e6090e2971c9629 # Parent 6ec2a44a1bd140f81a1409cb6f2094d43ab211a8 Uncomment the Card type The Image field actually contains a URL string. diff -r 6ec2a44a1bd1 -r e327896577dd types.go --- a/types.go Thu Apr 13 09:30:47 2017 +0200 +++ b/types.go Thu Apr 13 10:35:42 2017 +0200 @@ -54,15 +54,13 @@ TextURL string `json:"text_url"` } -/* // Card represents a Mastodon card entity type Card struct { - URL string `json:"url"` - Title string `json:"title"` - Description string `json:"description"` - Image *interface{} `json:"image"` + URL string `json:"url"` + Title string `json:"title"` + Description string `json:"description"` + Image string `json:"image"` } -*/ // Context represents a Mastodon context entity type Context struct {