mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-02 10:04:22 +00:00
Refactor everything
This commit is contained in:
parent
57d2a4288b
commit
2af37d4778
26 changed files with 1320 additions and 1361 deletions
|
@ -59,12 +59,12 @@ func main() {
|
|||
|
||||
sessionRepo := repository.NewSessionRepository(sessionDB)
|
||||
|
||||
sessionIds, err := getKeys(sessionRepoPath)
|
||||
sessionIDs, err := getKeys(sessionRepoPath)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
for _, id := range sessionIds {
|
||||
for _, id := range sessionIDs {
|
||||
s, err := sessionRepo.Get(id)
|
||||
if err != nil {
|
||||
log.Println(id, err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue