Neil O'Toole
3f6157c4c4
Change logging library to slog ( #175 )
...
- Switch to slog logger.
2023-04-02 13:49:45 -06:00
Neil O'Toole
8d47ef806d
go1.20 upgrade; lots of linting ( #172 )
2023-04-01 02:38:32 -06:00
Neil O'Toole
7148505a84
CSV: check for mismatch field count vs explicitly specified column names ( #147 )
...
* csv: check for mismatch field count vs explicitly specified column names
* CHANGELOG update
2023-03-14 23:04:49 -06:00
Neil O'Toole
fab365f43c
gofumpt on files ( #122 )
...
* gofumpt on files
* more gofumpt
2022-12-18 01:35:59 -07:00
Neil O'Toole
c778c8ced5
Linting of _test.go files ( #121 )
...
* test linting
* test linting
* test linting
* test linting
2022-12-18 00:18:35 -07:00
Neil O'Toole
425702e7ba
The linting goes on forever ( #119 )
...
* linting
* yet more linting
* yet more linting
* yet more linting
* yet more linting
* yet more linting
2022-12-17 23:07:38 -07:00
Neil O'Toole
ac7535609d
Yet more linting ( #118 )
...
* lint fixes
* lint gosec
2022-12-17 22:16:10 -07:00
Neil O'Toole
08dfa10325
Errors linting ( #117 )
...
* errors linting
* errors linting
* formatting
2022-12-17 21:31:06 -07:00
Neil O'Toole
540adfac58
Lint long lines ( #115 )
...
* lint config now sorts results
* linted long lines
* linted long lines
2022-12-17 19:43:53 -07:00
Neil O'Toole
2831211ae9
Yet more linting ( #114 )
...
* wip: bunch o' linting
* bunch more linting
2022-12-17 17:51:33 -07:00
Neil O'Toole
5187e8000a
bunch of linting issues fixed ( #113 )
2022-12-17 16:11:33 -07:00
Neil O'Toole
e674cdc724
change 'interface{}' to 'any' ( #108 )
2022-12-16 16:34:33 -07:00
Neil O'Toole
a419e0b693
Misc cleanup, goimports, updates ( #107 )
...
* debugging
* generic retry functionality; some additions to stringz.go
* fiddling with magefile_sakila
* added test lock function testh.Lock
* bunch of linting, goimports, what not
2022-12-16 15:54:09 -07:00
Neil O'Toole
5aebc04356
Fixed issues with files and databases not being closed correctly ( #73 )
...
* fiddling with scratch database close order
* files debugging
* files debugging2
* files debugging3
* files debugging 4
* files debugging 5
* didn't close the ReadCloser in csv import
* more closing cleanup
2020-12-30 11:57:58 -07:00
Neil O'Toole
0f3bc26f52
JSON driver: initial jsona driver ( #69 )
...
* jsona driver appears to be mostly working
* jsona verified as working
* minor tidy
2020-08-23 20:32:59 -06:00
Neil O'Toole
1818d50546
moved pkg libsq/sqlmodel to libsq/core/sqlmodel ( #68 )
2020-08-23 13:00:13 -06:00
Neil O'Toole
58ccfc9ded
Json driver; refactoring of core packages ( #66 )
...
* Type Detector refactor
* json driver impl; refactoring of source.Files reader et al
* working on kind detector
* significant switcheroo of packages
* partway throught refactoring Kind
* major package switcheroo for Kind
2020-08-23 04:42:15 -06:00
Neil O'Toole
1ceb50e795
SQL batch insert ( #58 )
...
* initial refactoring for the numRows param
* work on driver.NewBatchInsert
* work on NewBatchInsert
* batch insert seems to work
* switched testh.Insert to use BatchInsert
* doc cleanup
* batch insert for dbwriter and csv
* removed unneeded NumRows from driver.StmtExecer
* minor tidyup
2020-08-12 12:24:01 -06:00
Neil O'Toole
3e10868a29
Switched pkg sakila "const" slices to functions ( #57 )
...
* replaced sakila source slices with funcs
* missed some pkg sakila slices to refactor
2020-08-10 09:16:44 -06:00
Neil O'Toole
fd4ae53f31
codebase refactor
2020-08-06 11:58:47 -06:00