{{define "repository"}}package repository import ( model "gitlab.com/mbugroup/lti-api.git/internal/modules/{{Kebab .FeatName}}s/models" "gitlab.com/mbugroup/lti-api.git/internal/repository" "gorm.io/gorm" ) type {{Pascal .Entity}}Repository interface { repository.BaseRepository[model.{{Pascal .Entity}}] } type {{Pascal .Entity}}RepositoryImpl struct { *repository.BaseRepositoryImpl[model.{{Pascal .Entity}}] } func New{{Pascal .Entity}}Repository(db *gorm.DB) {{Pascal .Entity}}Repository { return &{{Pascal .Entity}}RepositoryImpl{ BaseRepositoryImpl: repository.NewBaseRepository[model.{{Pascal .Entity}}](db), } } {{end}}