types.go
changeset 100 e327896577dd
parent 85 abf0f5e40281
child 123 9b566c020a17
--- 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 {