workers icon indicating copy to clipboard operation
workers copied to clipboard

Remove dependencies on Context

Open syumai opened this issue 1 year ago • 0 comments

#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 avatar Jan 24 '24 12:01 syumai