Refactoring: clean architecture project structure

This commit is contained in:
2025-08-09 15:18:42 +03:00
parent 40e207bdb2
commit 8e133630d4
12 changed files with 265 additions and 188 deletions

17
internal/entity/file.go Normal file
View File

@@ -0,0 +1,17 @@
package entity
import (
"time"
)
const (
StorageLocal = "local"
StorageS3 = "s3"
)
type File struct {
Id string
Storage string
Size int64
CreatedAt time.Time
}