refine architecture

change module name to repo
This commit is contained in:
Robin Olsen
2026-02-02 11:22:20 +01:00
parent 4225d202bb
commit 0dcfe3989d
32 changed files with 822 additions and 114 deletions

View File

@@ -7,8 +7,8 @@ import (
)
type Storage[T any] struct {
path string
mu sync.RWMutex
path string
Data *T
}
@@ -51,4 +51,4 @@ func (s *Storage[T]) Init() error {
return s.Save()
}
return s.Load()
}
}