This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
backend/fstorage/config.go

15 lines
169 B
Go
Raw Normal View History

2021-05-02 07:15:10 +00:00
package fstorage
2021-02-28 14:01:30 +00:00
import "os"
2021-02-28 14:01:30 +00:00
type Config struct {
BasePath string
}
func getDefaultConfig() *Config {
path, _ := os.Getwd()
2021-02-28 14:01:30 +00:00
return &Config{
BasePath: path,
2021-02-28 14:01:30 +00:00
}
}