search

package
v0.0.0-...-83ced17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Types that are needed to interact with OpenSearch's API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SeedClubs

func SeedClubs(db *gorm.DB) error

FIXME: For now it is performant enough to just delete the index and redo, but in the future we may have to start worrying about updating in place for this, maybe a migration-esque strategy as well. (???)

func SeedEvents

func SeedEvents(db *gorm.DB) error

FIXME: see fixme comment for SeedClubs()

Types

type EventSearchResult

type EventSearchResult struct {
	Results []models.Event `json:"results"`
}

The (successful) response of an API GET /api/v1/search/events request.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL