Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Contact ¶
type Contact struct { ID string `firestore:"id"` LastName string `firestore:"last_name"` FirstName string `firestore:"first_name"` BirthYear int `firestore:"birth_year"` BirthMonth int `firestore:"birth_month"` BirthDay int `firestore:"birth_day"` Email string `firestore:"email"` }
Contact is the base structure for Scouts, Leaders, and any other individuals referenced by this application.
func GetAllContacts ¶
func GetAllContacts() []Contact
GetAllContacts gets all Contact entities TODO: make the return slice a slice of pointers to contacts
type Repository ¶
Repository interface defines the methods that can be used on the Service
type Storage ¶
Storage holds the pointer to the Firestore client
func NewStorage ¶
NewStorage returns the pointer to the Firstore client
Click to show internal directories.
Click to hide internal directories.