소스 검색

Removed Mentions struct, as its the same as User

Bruce Marriner 9 년 전
부모
커밋
f3ddf16ff7
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      structs.go

+ 1 - 4
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 {
 }