diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/like.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/models/like.go b/models/like.go new file mode 100644 index 0000000..2faf384 --- /dev/null +++ b/models/like.go | |||
@@ -0,0 +1,14 @@ | |||
1 | package models | ||
2 | |||
3 | import "fagott.pw/charakterin" | ||
4 | |||
5 | const ( | ||
6 | LIKE_LIST = 0 | ||
7 | ) | ||
8 | |||
9 | type Like struct { | ||
10 | ContentID int | ||
11 | Content interface{} | ||
12 | User *charakterin.User | ||
13 | ContentType int | ||
14 | } | ||