Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalendarDate ¶
type CalendarDate struct { ID int32 `csv:"id"` ServiceID string `csv:"service_id"` Date time.Time `csv:"date"` ExceptionType NullExceptionType `csv:"exception_type,omitempty"` }
type CreateCalendarDateParams ¶
type CreateCalendarDateParams struct { ServiceID string `db:"service_id"` Date time.Time `db:"date"` ExceptionType NullExceptionType `db:"exception_type"` }
type ExceptionType ¶
type ExceptionType string
const ( ExceptionTypeServiceAdded ExceptionType = "ServiceAdded" ExceptionTypeServiceRemoved ExceptionType = "ServiceRemoved" )
func (*ExceptionType) Scan ¶
func (e *ExceptionType) Scan(src interface{}) error
type NullExceptionType ¶
type NullExceptionType struct { ExceptionType ExceptionType Valid bool // Valid is true if ExceptionType is not NULL }
func (*NullExceptionType) Scan ¶
func (ns *NullExceptionType) Scan(value interface{}) error
Scan implements the Scanner interface.
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateCalendarDate ¶
func (q *Queries) CreateCalendarDate(ctx context.Context, arg CreateCalendarDateParams) error
func (*Queries) GetCalendarDateByID ¶
Click to show internal directories.
Click to hide internal directories.