featurebase/idk/kafka
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
..
csrc Linters! (#2314) 2023-03-10 15:13:15 -06:00
testdata adding kafka delete functionality 2023-03-06 09:52:31 -06:00
cmd.go SUP-288 (#2414) 2023-01-19 22:10:15 +00:00
cmd_delete_test.go Sup 294 pre sort command (#2209) 2023-01-23 12:26:38 -06:00
cmd_test.go Enable linter: stylecheck (#2317) 2023-03-14 08:45:18 -05:00
put.go staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
putsource.go Enable linter: stylecheck (#2317) 2023-03-14 08:45:18 -05:00
putsource_test.go Sup 294 pre sort command (#2209) 2023-01-23 12:26:38 -06:00
source.go Enable linter: stylecheck (#2317) 2023-03-14 08:45:18 -05:00
source_test.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00