Documentation
¶
Index ¶
- type Sql
- func (s *Sql) Close() error
- func (s *Sql) Configure(envs map[string]string) error
- func (s *Sql) EmployeeCreate(ctx context.Context, employeePartial data.EmployeePartial) (*data.Employee, error)
- func (s *Sql) EmployeeDelete(ctx context.Context, empNo int64) error
- func (s *Sql) EmployeeRead(ctx context.Context, empNo int64) (*data.Employee, error)
- func (s *Sql) EmployeeUpdate(ctx context.Context, empNo int64, employeePartial data.EmployeePartial) (*data.Employee, error)
- func (s *Sql) EmployeesSearch(ctx context.Context, search data.EmployeeSearch) ([]*data.Employee, error)
- func (s *Sql) Open() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sql ¶
func (*Sql) EmployeeCreate ¶
func (*Sql) EmployeeRead ¶
func (*Sql) EmployeeUpdate ¶
func (*Sql) EmployeesSearch ¶
Click to show internal directories.
Click to hide internal directories.