mirror of
https://github.com/elyby/chrly.git
synced 2024-12-23 21:50:03 +05:30
14 lines
261 B
Go
14 lines
261 B
Go
package files
|
|
|
|
import (
|
|
"elyby/minecraft-skinsystem/repositories"
|
|
)
|
|
|
|
type FilesystemCapesFactory struct {
|
|
StoragePath string
|
|
}
|
|
|
|
func (cfg *FilesystemCapesFactory) Create() (repositories.CapesRepository, error) {
|
|
return &filesDb{path: cfg.StoragePath}, nil
|
|
}
|