Make modules/context.Context a context.Context #16031

Merged
lunny merged 4 commits from make-context-a-context into main 2021-05-31 06:18:12 +00:00
Contributor

This is a small refactor that simplifies a few things.

By implementing the context.Context interface in modules.Context we can simplify a few sections of code.

The second part of the PR is to set the base context for Requests to be set to the Hammer context.

This is a small refactor that simplifies a few things. By implementing the context.Context interface in modules.Context we can simplify a few sections of code. The second part of the PR is to set the base context for Requests to be set to the Hammer context.
techknowlogick approved these changes 2021-05-30 22:45:53 +00:00
lunny approved these changes 2021-05-31 04:32:24 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#16031
No description provided.