Esempio n. 1
0
func BeforeEach() {
	mongo, _ := datasource.NewMongo("config.yml", "staging")
	articleService = ArticleService{MongoService: MongoService{Mongo: *mongo}}
}
Esempio n. 2
0
func UserBeforeEach() {
	mongo, _ := datasource.NewMongo("config.yml", "staging")
	userService = UserService{MongoService: MongoService{Mongo: *mongo}}
}