refactor: keep only one struct for package

This commit is contained in:
2025-06-12 13:11:41 +03:00
parent e259184a89
commit ad8b669fa6
34 changed files with 678 additions and 580 deletions

View File

@@ -20,7 +20,7 @@ import (
"context"
"path/filepath"
"gitea.plemya-x.ru/Plemya-x/ALR/internal/db"
"gitea.plemya-x.ru/Plemya-x/ALR/pkg/alrsh"
)
type ScriptResolver struct {
@@ -34,7 +34,7 @@ type ScriptInfo struct {
func (s *ScriptResolver) ResolveScript(
ctx context.Context,
pkg *db.Package,
pkg *alrsh.Package,
) *ScriptInfo {
var repository, script string