mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-29 15:10:37 +00:00
Update to GCT script library (#496)
* * Adds script link to GCT logger package * Adds ability to save data as csv via script * addr nits * go mod tidy * add glorious suggestion * rm unused function * fix linter issues * clean up some issues * Add in configuration fields to object for reflection to the csv file * RM line :D * address nits * update to check for target already being set and add more test coverage * force usage of .csv file extention && append date to client filename as to not overwrite file if collision occurs * fix whoopsie * linter issues * purge getter methods * Added glorious suggestion * go mod tidy after merge * niterinos
This commit is contained in:
@@ -37,3 +37,8 @@ func GetModuleMap() *tengo.ModuleMap {
|
||||
}
|
||||
return modules
|
||||
}
|
||||
|
||||
// SetDefaultScriptOutput sets the output folder
|
||||
func SetDefaultScriptOutput(path string) {
|
||||
gct.OutputDir = path
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user