11 lines
303 B
Go
11 lines
303 B
Go
package data
|
|
|
|
import "kra/internal/biz"
|
|
|
|
type departmentRepo struct{ data *Data }
|
|
type positionRepo struct{ data *Data }
|
|
|
|
func NewDepartmentRepo(data *Data) biz.DepartmentRepo { return &departmentRepo{data: data} }
|
|
|
|
func NewPositionRepo(data *Data) biz.PositionRepo { return &positionRepo{data: data} }
|