featurebase/sql
Garrison Davis ab2b48da0d 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.

(cherry picked from commit 0f5a56c958)
2022-11-15 11:32:03 -08: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 Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07: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 Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
query.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07: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 Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
show.go Stop using string keys in contexts 2022-11-15 11:32:03 -08:00