refactor: use domain pattern

This commit is contained in:
Nicolas Meienberger
2025-08-10 22:23:44 +02:00
parent fd91751673
commit 672f9097e1
25 changed files with 448 additions and 480 deletions

12
internal/db/schema.go Normal file
View File

@@ -0,0 +1,12 @@
package db
import (
"gorm.io/gorm"
)
type Volume struct {
gorm.Model
Name string `json:"name"`
Path string `json:"path"`
}