diff options
author | jan <jan@ruken.pw> | 2016-11-14 15:55:50 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2016-11-14 15:55:50 (UTC) |
commit | c735553214400f3af69e516ff41a6da9214449a7 (patch) | |
tree | c9a8e8fc84fdbaffb3a3fa318453b36270550ebb /models | |
parent | 9832cd28de49421021ed7c1f3caa7fdda7bc4372 (diff) |
likes und so.
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 | } | ||