Skip to content

Commit 8231669

Browse files
authored
Merge pull request #13 from nao1215/nchika/reader
Feat: support io.Reader inputs
2 parents 7105562 + 93ddbc4 commit 8231669

19 files changed

+2634
-289
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ func main() {
131131
log.Fatal(err)
132132
}
133133
defer connection.Close()
134-
defer db.Cleanup() // Clean up temporary files from FS
135134

136135
// Query across files from different sources
137136
rows, err := connection.Query("SELECT name FROM sqlite_master WHERE type='table'")
@@ -321,7 +320,6 @@ validatedBuilder, err := builder.Build(ctx)
321320
if err != nil {
322321
log.Fatal(err)
323322
}
324-
defer validatedBuilder.Cleanup()
325323

326324
db, err := validatedBuilder.Open(ctx)
327325
if err != nil {
@@ -351,7 +349,6 @@ validatedBuilder, err := builder.Build(ctx)
351349
if err != nil {
352350
log.Fatal(err)
353351
}
354-
defer validatedBuilder.Cleanup()
355352

356353
db, err := validatedBuilder.Open(ctx)
357354
if err != nil {

0 commit comments

Comments
 (0)