|
@ -4,7 +4,7 @@ import "time" |
|
|
|
|
|
|
|
|
// A Comment is a comment on a chapter.
|
|
|
// A Comment is a comment on a chapter.
|
|
|
type Comment struct { |
|
|
type Comment struct { |
|
|
ID string `bson:"id"` |
|
|
|
|
|
|
|
|
ID string `bson:"_id"` |
|
|
ChapterID string `bson:"chapterId"` |
|
|
ChapterID string `bson:"chapterId"` |
|
|
Subject string `bson:"subject"` |
|
|
Subject string `bson:"subject"` |
|
|
Author string `bson:"author"` |
|
|
Author string `bson:"author"` |
|
|