Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service charge firestore operation
func (*Service) GetSubscribers ¶
func (s *Service) GetSubscribers() ([]Subscriber, error)
GetSubscribers return firestore collection convert to Subscriber struct array
func (*Service) UpdateLastCreatedAt ¶
UpdateLastCreatedAt update subscriber laster createdAt
type Subscriber ¶
type Subscriber struct { Ref *firestore.DocumentRef Mail string Keywords []string LastCreatedAt time.Time }
Subscriber firestore collection value object
Click to show internal directories.
Click to hide internal directories.