mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 16:55:15 +00:00
remove unused SourceDir func
This commit is contained in:
parent
0fbc388333
commit
1ad8b0b641
|
@ -20,11 +20,6 @@ func CacheDir() string {
|
||||||
return prepareDir(dir)
|
return prepareDir(dir)
|
||||||
}
|
}
|
||||||
|
|
||||||
func SourceDir() string {
|
|
||||||
home := HomeDir()
|
|
||||||
return path.Join(home, "source")
|
|
||||||
}
|
|
||||||
|
|
||||||
func HomeDir() string {
|
func HomeDir() string {
|
||||||
homeDir, err := os.UserHomeDir()
|
homeDir, err := os.UserHomeDir()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user