postgres

package
v0.0.0-...-c0b09f6 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func NewDB

func NewDB(dsn string) *DB

func (*DB) Close

func (db *DB) Close()

func (*DB) Open

func (db *DB) Open() error

type EventService

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

func NewEventService

func NewEventService(db *DB) *EventService

func (*EventService) AddEvent

func (es *EventService) AddEvent(ctx context.Context, e *event.Event) (event.EventUUID, error)

func (*EventService) GetEvent

func (*EventService) UpsertUserEventAvailability

func (e *EventService) UpsertUserEventAvailability(ctx context.Context, response event.EventResponse) error

Jump to

Keyboard shortcuts

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