Documentation
¶
Index ¶
- Constants
- type Enrollment
- type Service
- type Type
- func (t Type) MarshalJSON() ([]byte, error)
- func (t Type) MarshalText() ([]byte, error)
- func (t *Type) Scan(src interface{}) error
- func (t *Type) Set(value string) (err error)
- func (t Type) String() string
- func (t *Type) UnmarshalJSON(data []byte) error
- func (t *Type) UnmarshalText(data []byte) error
- func (t Type) Value() (driver.Value, error)
Constants ¶
View Source
const ( TypeReservation string = "Reservation" TypeRegular string = "Regular" TypeReplacement string = "Replacement" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enrollment ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (Service) FindByClient ¶
func (s Service) FindByClient(clientId int) ([]Enrollment, error)
func (Service) FindByGroup ¶
func (s Service) FindByGroup(groupId int) ([]Enrollment, error)
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
func (Type) MarshalJSON ¶
func (Type) MarshalText ¶
func (*Type) UnmarshalJSON ¶
func (*Type) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.