Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependencies on Context #90

Closed
syumai opened this issue Jan 24, 2024 · 0 comments · Fixed by #102
Closed

Remove dependencies on Context #90

syumai opened this issue Jan 24, 2024 · 0 comments · Fixed by #102
Assignees
Labels
enhancement New feature or request

Comments

@syumai
Copy link
Owner

syumai commented Jan 24, 2024

#84 introduced new internal feature, jsutil.RuntimeContext.
This feature allows most Context-dependent functions to be fixed as follows.

Before

func Getenv(ctx context.Context, name string) string

After

func Getenv(name string) string

The change adds flexibility to Go programs using workers.

This will be breaking change.

@syumai syumai added the enhancement New feature or request label Jan 24, 2024
@syumai syumai self-assigned this Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant