featurebase/sql
Garrison Davis 0f5a56c958 Stop using string keys in contexts
This fixes the OriginalIP and RequestUserID in the main featurebase
package, and the Access and Refresh tokens, the UserInfo, and the
[]string of Indexes passed with context.Context(s) in the authn package.

An empty struct was used for all of these keys (and relevant helper
functions we added) to avoid allocations where possible while still
using the context functionality.

Some of the logic in the server.GetIndexes function was fixed.
2022-11-04 15:01:40 -06:00
..
column.go add copyright notice back in 2021-12-10 11:01:04 -06:00
ddl.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
extract.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
handler_test.go refactor testing to share clusters more often 2022-09-02 11:40:37 -05:00
main_test.go use testhook test cleanup 2022-09-26 12:33:43 -05:00
mapper.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
mapper_test.go add copyright notice back in 2021-12-10 11:01:04 -06:00
mask.go fix parens around where clause bug (#2121) 2022-06-16 22:21:24 -05:00
model.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
query.go Use Distinct() call for SQL DISTINCT 2022-03-01 15:04:32 -07:00
reduce.go Use Distinct() call for SQL DISTINCT 2022-03-01 15:04:32 -07:00
reduce_test.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
router.go Use Distinct() call for SQL DISTINCT 2022-03-01 15:04:32 -07:00
select.go don't panic on nil field during inner join 2022-06-14 10:01:16 -05:00
show.go Stop using string keys in contexts 2022-11-04 15:01:40 -06:00