mirror of
https://github.com/Unkn0wnCat/matrix-veles.git
synced 2025-08-02 08:08:49 +02:00
Create auth API & comment code
This commit is contained in:
parent
1b15b12859
commit
c8d1c33cb4
17 changed files with 475 additions and 101 deletions
|
@ -4,7 +4,7 @@ import "go.mongodb.org/mongo-driver/bson/primitive"
|
|||
|
||||
type DBHashList struct {
|
||||
ID primitive.ObjectID `bson:"_id" json:"id"`
|
||||
Tags []string `bson:"tags" json:"tags"`
|
||||
Comments []*DBComment `bson:"comments" json:"comments"`
|
||||
Maintainers []*primitive.ObjectID `bson:"maintainers" json:"maintainers"`
|
||||
Tags []string `bson:"tags" json:"tags"` // Tags of this list for discovery, and sorting
|
||||
Comments []*DBComment `bson:"comments" json:"comments"` // Comments regarding this list
|
||||
Maintainers []*primitive.ObjectID `bson:"maintainers" json:"maintainers"` // Maintainers contains references to the users who may edit this list
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue