model

package
v0.0.0-...-558561e Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	ID     uuid.UUID
	UserID uuid.UUID
	Key    string
}

type Event

type Event struct {
	ID          uuid.UUID
	User        User
	Name        string
	Description string
	Address     string
	StartTime   time.Time
	EndTime     time.Time
}

func (*Event) ToResponse

func (e *Event) ToResponse() response.EventResponse

type User

type User struct {
	ID       uuid.UUID
	Name     string
	Email    string
	Password string
}

func (*User) ToResponse

func (u *User) ToResponse() response.UserResponse

Jump to

Keyboard shortcuts

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