multiprocessio / dsq

Commandline tool for running SQL queries against JSON, CSV, Excel, Parquet, and more.
Other
3.71k stars 152 forks source link

Replace deprecated ioutil pkg with os #84

Closed johnmanjiro13 closed 2 years ago

johnmanjiro13 commented 2 years ago

As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code.

So replacing all usage of ioutil pkg with os (os.CreateTemp).

Besides, removing openTruncate function that have not called.

eatonphil commented 2 years ago

Nice job! Thank you!