Documentation
¶
Index ¶
- func AddExecutive(exec models.Executive) error
- func AddFellow(fellow models.Fellow) error
- func AddGreeting(msg models.Greeting) error
- func AddProject(project models.Project) error
- func CloseDatabase()
- func GetAllDepartmentExecutives(department string) ([]models.Executive, error)
- func GetAllExecutives() ([]models.Executive, error)
- func GetAllFellows() ([]models.Fellow, error)
- func GetAllGreetings() ([]models.Greeting, error)
- func GetAllProjects() ([]models.Project, error)
- func GetDatabase() *firestore.Client
- func InitDatabase()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllDepartmentExecutives ¶
Get all executives in a specific department from database
func GetAllExecutives ¶
Get all executives from database
func GetAllGreetings ¶
Get all greetings from database
func GetAllProjects ¶
Get all projects from database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.