Documentation
¶
Index ¶
- type LanguageRepository
- func (r LanguageRepository) Create(ctx context.Context, i *entity.Language) error
- func (r LanguageRepository) Delete(ctx context.Context, i *entity.Language) error
- func (r LanguageRepository) FindAll(ctx context.Context) ([]entity.Language, error)
- func (r LanguageRepository) FindByID(ctx context.Context, id uint) (*entity.Language, error)
- func (r LanguageRepository) FindByIDs(ctx context.Context, ids []uint) ([]entity.Language, error)
- func (r LanguageRepository) FindByLanguage(ctx context.Context, lng string) (*entity.Language, error)
- func (r LanguageRepository) Update(ctx context.Context, i *entity.Language) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LanguageRepository ¶
type LanguageRepository struct {
// contains filtered or unexported fields
}
func New ¶
func New(env *env.Postgres) LanguageRepository
func (LanguageRepository) FindByLanguage ¶
Click to show internal directories.
Click to hide internal directories.