featurebase/sql3/parser
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
..
ast.go add test coverage, fix bugs caught by added test coverage 2023-02-15 14:34:51 -06:00
ast_test.go FB-1968 timestamp data type related fixes and enhancements (#2256) 2023-02-24 14:57:17 -05:00
astdatatype.go implement select from time quantum columns (fb-1654) (#2282) 2023-03-02 00:06:58 -06:00
parser.go FB-1968 timestamp data type related fixes and enhancements (#2256) 2023-02-24 14:57:17 -05:00
parser_test.go forward-port tests from SQL1 tree (#2261) 2023-03-01 13:40:50 -06:00
scanner.go fix sum aggregate (fb-1874) (#2404) 2023-01-12 00:49:58 +00:00
scanner_test.go SQL BULK INSERT (fb-1749) (#2291) 2022-11-15 11:33:38 -08:00
token.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
token_test.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
walk.go Enable linter: stylecheck (#2317) 2023-03-14 08:45:18 -05:00