featurebase/sql
Travis Turner aa17b8d725
Enable linter: stylecheck (#2317)
* Enable linter: stylecheck

This enabled the stylecheck linter, but excludes some staticchecks for
now. The following are ignored because they will take a bit of time to
address, but the intention is to address them and remove them from the
exclusion list.

ST1000: at least one file in a package should have a package comment
ST1003: golang naming standards
ST1008: error should be returned as the last argument
ST1016: methods on the same type should have the same receiver name
ST1020: comment on exported function

* Address ST1015

For some reason this failed in CI but not locally. I can't figure out
why that check isn't happening locally. This just moves the switch
statements around so that the `default` is the first (or last) item.

* Adjust error string in test to match case-adjusted error

* Remove TestCloseTimeout
2023-03-14 08:45:18 -05:00
..
column.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
ddl.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
extract.go Enable linter: stylecheck (#2317) 2023-03-14 08:45:18 -05:00
handler_test.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
main_test.go added testify dependency 2022-09-30 11:31:37 -07:00
mapper.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
mapper_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
mask.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
model.go Enable linter: stylecheck (#2317) 2023-03-14 08:45:18 -05:00
query.go Linters! (#2314) 2023-03-10 15:13:15 -06:00
reduce.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
reduce_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
router.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
select.go linter: prealloc (#2315) 2023-03-11 21:19:05 -06:00
show.go Fixed some import issues resulting from syncing the private repo 2022-11-17 08:58:22 -08:00