Feat: finish object storage
This commit is contained in:
11
handlers/img/handlers.go
Normal file
11
handlers/img/handlers.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package img
|
||||
|
||||
import "gitea.konchin.com/go2025/backend/interfaces"
|
||||
|
||||
type Handlers struct {
|
||||
s3 interfaces.ObjectStorage
|
||||
}
|
||||
|
||||
func NewHandlers(s3 interfaces.ObjectStorage) *Handlers {
|
||||
return &Handlers{s3: s3}
|
||||
}
|
||||
Reference in New Issue
Block a user