Documentation ¶
Index ¶
- Constants
- func NewOperationValidatingRepository(validator Validator, repo db_repo.Repository) db_repo.Repository
- func NewRepository(validator Validator, repo db_repo.Repository) db_repo.Repository
- func NewValidator(config cfg.Config, logger log.Logger) (*validator, error)
- func NewValidatorWithInterfaces(tracer tracing.Tracer) *validator
- type Error
- type Group
- type OperationValidatingRepository
- type Repository
- type Rule
- type Validator
Constants ¶
View Source
const (
GroupDefault = "default"
)
Variables ¶
This section is empty.
Functions ¶
func NewOperationValidatingRepository ¶
func NewOperationValidatingRepository(validator Validator, repo db_repo.Repository) db_repo.Repository
func NewRepository ¶
func NewRepository(validator Validator, repo db_repo.Repository) db_repo.Repository
Types ¶
type OperationValidatingRepository ¶
type OperationValidatingRepository struct { db_repo.Repository // contains filtered or unexported fields }
func (OperationValidatingRepository) Create ¶
func (r OperationValidatingRepository) Create(ctx context.Context, value db_repo.ModelBased) error
type Repository ¶
type Repository struct { db_repo.Repository // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.