attachment feature #10

This commit is contained in:
life committed 2014-09-21 22:05:04 +08:00
1 parent ab242b10f2
commit c556ab59b5
26 files changed
+1197 -135

No files matched your search

+2
View File
@@ -36,6 +36,7 @@ var Suggestions *mgo.Collection
// Album & file(image)
var Albums *mgo.Collection
var Files *mgo.Collection
var Attachs *mgo.Collection
var NoteImages *mgo.Collection
@@ -106,6 +107,7 @@ func Init() {
// Album & file
Albums = Session.DB(dbname).C("albums")
Files = Session.DB(dbname).C("files")
Attachs = Session.DB(dbname).C("attachs")
NoteImages = Session.DB(dbname).C("note_images")
}