Documentation
¶
Index ¶
- type Database
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶ added in v0.1.1
type Database struct {
// contains filtered or unexported fields
}
func (*Database) WithTransaction ¶ added in v0.1.1
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
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.