func AllProjects(ctx context.Context) (projects []Project) {
	keys, err := datastore.NewQuery(ProjectKind).GetAll(ctx, &projects)

	if err != nil {
		log.Println("Error fetching all projects:", err)
		return
	}

	for i, key := range keys {
		projects[i].Key = key.IntID()
	}
	return
}
// AllProjects Returns all ProjectKind objects
AllProjects Returns all ProjectKind objects
// AllProjects Returns all ProjectKind objects
func AllProjects(ctx context.Context) (projects []Project) {
	keys, err := datastore.NewQuery(ProjectKind).GetAll(ctx, &projects)
	if err != nil {
		log.Println("Error fetching all projects:", err)
		return
	}
	for i, key := range keys {
		projects[i].Key = key.IntID()
	}
	return
}
func AllProjects ( ctx context . Context ) ( projects [ ] Project ) { keys , err := datastore . NewQuery ( ProjectKind ) . GetAll ( ctx , & projects ) if err != nil { log . Println ( " " , err ) return } for i , key := range keys { projects [ i ] . Key = key . IntID ( ) } return }
AllProjects Returns all ProjectKind objects
AllProjects Returns all ProjectKind objects