From f3ddf16ff7507c67a9afdeb18ce7b42c1d213891 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Sat, 7 Nov 2015 11:31:46 -0600 Subject: [PATCH] Removed Mentions struct, as its the same as User --- structs.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/structs.go b/structs.go index d400b4a..1d2fd85 100644 --- a/structs.go +++ b/structs.go @@ -37,13 +37,10 @@ type Message struct { Timestamp string `json:"timestamp"` MentionEveryone bool `json:"mention_everyone"` EditedTimestamp string `json:"edited_timestamp"` - Mentions []Mention `json:"mentions"` + Mentions []User `json:"mentions"` ChannelId int `json:"channel_id,string"` } -type Mention struct { -} - type Attachment struct { }