Skip to content

Commit

Permalink
Merge pull request #189 from observerly/feature/index/NewIndexer
Browse files Browse the repository at this point in the history
feat: add NewIndexer to index module in @observerly/skysolve
  • Loading branch information
michealroberts authored Jan 30, 2025
2 parents 3769ad4 + 59bd309 commit 5c3447b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkg/index/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,15 @@ type Indexer struct {
}

/*****************************************************************************************************************/

func NewIndexer(
healpix healpix.HealPIX,
catalog catalog.CatalogService,
) *Indexer {
return &Indexer{
Catalog: catalog,
HealPIX: healpix,
}
}

/*****************************************************************************************************************/

0 comments on commit 5c3447b

Please sign in to comment.