mirror of
https://github.com/elyby/chrly.git
synced 2024-12-24 14:09:56 +05:30
12 lines
214 B
Go
12 lines
214 B
Go
|
package files
|
||
|
|
||
|
import "elyby/minecraft-skinsystem/model"
|
||
|
|
||
|
type Config struct {
|
||
|
StoragePath string
|
||
|
}
|
||
|
|
||
|
func (cfg *Config) CreateRepo() (model.CapesRepository, error) {
|
||
|
return &filesDb{path: cfg.StoragePath}, nil
|
||
|
}
|