Skip to content

Commit

Permalink
Path option (#4)
Browse files Browse the repository at this point in the history
* add option for path to cli

* fix default path
  • Loading branch information
scottlepp authored Apr 29, 2024
1 parent 1a3df84 commit 645ace1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions duck/duckdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ func NewDuckDB(name string, opts ...Opts) DuckDB {
Name: name,
Mode: defaultString(opts[0].Mode, "json"),
Format: defaultString(opts[0].Format, "parquet"),
Path: defaultString(opts[0].Path, "usr/local/bin/"),
Path: defaultString(opts[0].Path, "/usr/local/bin/"),
Chunk: defaultInt(opts[0].Chunk, 0),
}
}
return DuckDB{
Name: name,
Mode: "json",
Format: "parquet",
Path: "usr/local/bin/",
Path: "/usr/local/bin/",
Chunk: 0,
}
}
Expand Down

0 comments on commit 645ace1

Please sign in to comment.