MCPcopy Create free account
hub / github.com/devinterface/startersaas-go-api / getCollection

Method getCollection

services/email.service.go:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22type EmailService struct{ BaseService }
23
24func (emailService *EmailService) getCollection() (collection *mgm.Collection) {
25 coll := mgm.CollectionByName("email")
26 return coll
27}
28
29func loadEmail(code string, lang string) (email *models.Email, err error) {
30 email = &models.Email{}

Callers 5

StoreEmailsMethod · 0.95
loadEmailFunction · 0.45
SendActivationEmailMethod · 0.45
SendActiveEmailMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected