package repository type Repository[T any] interface { BuildQuery(s string) string GetByID(id int) (*T, error) GetAll() ([]T, error) Delete(id int) error }