Documentation
¶
Index ¶
- type Driver
- type Migration
- type Service
- func (s Service) Create(ctx context.Context, r *office.CreateRequest) error
- func (s Service) FindMany(ctx context.Context, r *office.FindManyRequest) (*office.FindManyResponse, error)
- func (s Service) FindOne(ctx context.Context, r *office.FindOneRequest) (*office.FindOneResponse, error)
- func (s Service) Update(ctx context.Context, r *office.UpdateRequest) error
- type Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
TODO: User Driver from core-go
func NewService ¶
func (Service) FindMany ¶
func (s Service) FindMany(ctx context.Context, r *office.FindManyRequest) (*office.FindManyResponse, error)
func (Service) FindOne ¶
func (s Service) FindOne(ctx context.Context, r *office.FindOneRequest) (*office.FindOneResponse, error)
Click to show internal directories.
Click to hide internal directories.