Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CityScreening ¶
type CityScreening struct { ScreeningType string `json:"screening_type" db:"screening_type"` TicketPrice string `json:"ticket_price" db:"ticket_price"` StartTime time.Time `json:"start_time" db:"start_time"` ScreeningID int64 `json:"id" db:"id"` HallID int32 `json:"hall_id" db:"hall_id"` CinemaID int32 `json:"cinema_id" db:"cinema_id"` }
type MoviesScreenings ¶
type Screening ¶
type Screening struct { ScreeningID int64 `json:"id" db:"id"` ScreeningType string `json:"screening_type" db:"screening_type"` TicketPrice string `json:"ticket_price" db:"ticket_price"` StartTime time.Time `json:"start_time" db:"start_time"` HallID int32 `json:"hall_id" db:"hall_id"` MovieID int32 `json:"movie_id" db:"movie_id"` CinemaID int32 `json:"cinema_id" db:"cinema_id"` }
type ServiceError ¶
func Error ¶
func Error(code ErrorCode, msg string) *ServiceError
func (*ServiceError) Error ¶
func (e *ServiceError) Error() string
Click to show internal directories.
Click to hide internal directories.