Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoModel ¶
type MongoModel struct { ID primitive.ObjectID `bson:"_id"` Order int `bson:"order"` Tags []string `bson:"tags"` Payload string `bson:"payload"` }
func GetMongoModelWithRandomPayload ¶
func GetMongoModelWithRandomPayload(order int, tags []string) *MongoModel
func GetRandomMongoModel ¶
func GetRandomMongoModel() *MongoModel
Click to show internal directories.
Click to hide internal directories.