database

package
v0.0.0-...-707de3c Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 13 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 Connect

func Connect() *DB

func (*DB) BookMeeting

func (db *DB) BookMeeting(input model.BookInterview) *model.Interview

func (*DB) CancelMeeting

func (db *DB) CancelMeeting(id string) *model.DeleteResponse

func (*DB) GetAllMeetings

func (db *DB) GetAllMeetings() []*model.Interview

func (*DB) GetMeetingById

func (db *DB) GetMeetingById(id *string) *model.Interview

func (*DB) ScheduleInterview

func (db *DB) ScheduleInterview(input model.InterviewInput) *model.Interview

func (*DB) UpdateMeeting

func (db *DB) UpdateMeeting(id string, input model.InterviewInput) *model.Interview

Jump to

Keyboard shortcuts

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