venue

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Types

type Service

type Service interface {
	GetAllCities(ctx context.Context) (t []string, err error)
}

func NewVenueService

func NewVenueService(db *gorm.DB) Service

type Venue

type Venue struct {
	gorm.Model
	Alias   string `json:"alias"`
	Address string `json:"address"`
	City    string `json:"city"`
	Lat     string `json:"lat"`
	Long    string `json:"long"`
}

type VenueService

type VenueService struct {
	// contains filtered or unexported fields
}

func (*VenueService) GetAllCities

func (s *VenueService) GetAllCities(ctx context.Context) (t []string, err error)

Jump to

Keyboard shortcuts

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