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.
2021-05-02 07:15:10 +00:00
|
|
|
package fstorage
|
2021-02-28 14:01:30 +00:00
|
|
|
|
2021-02-28 16:54:40 +00:00
|
|
|
import "os"
|
|
|
|
|
2021-02-28 14:01:30 +00:00
|
|
|
type Config struct {
|
|
|
|
BasePath string
|
|
|
|
}
|
|
|
|
|
|
|
|
func getDefaultConfig() *Config {
|
2021-02-28 16:54:40 +00:00
|
|
|
path, _ := os.Getwd()
|
2021-02-28 14:01:30 +00:00
|
|
|
return &Config{
|
2021-02-28 16:54:40 +00:00
|
|
|
BasePath: path,
|
2021-02-28 14:01:30 +00:00
|
|
|
}
|
|
|
|
}
|