Refactoring: clean architecture project structure
This commit is contained in:
17
internal/entity/file.go
Normal file
17
internal/entity/file.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user