domain

package
v0.0.0-...-96f1f9d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDataNotFound        = errors.New("data not found")
	ErrAlreadyExist        = errors.New("already exist")
	ErrExternalUnavailable = errors.New("external resource is unavailable")
)

Functions

This section is empty.

Types

type Event

type Event struct {
	ID          int
	Name        string
	StartTime   time.Time
	EndTime     time.Time
	Description string
	NotifyTime  time.Time
	CreatorID   int
}

type User

type User struct {
	ID         int    `json:"id"`
	Name       string `json:"name"`
	Surname    string `json:"surname"`
	TelegramID int64  `json:"telegram_id"`
}

Jump to

Keyboard shortcuts

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