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

Adapt to go 1.16 #181

Open
bastianccm opened this issue Feb 16, 2021 · 0 comments
Open

Adapt to go 1.16 #181

bastianccm opened this issue Feb 16, 2021 · 0 comments

Comments

@bastianccm
Copy link
Contributor

Go 1.16 brings a lot of nice enhancements, so we should evaluate if we can adapt them.

NotifyContext

https://tip.golang.org/pkg/os/signal/#NotifyContext

signals := make(chan os.Signal, 1)
shutdownComplete := make(chan struct{}, 1)
signal.Notify(signals, syscall.SIGINT, syscall.SIGTERM)

embed

https://tip.golang.org/pkg/embed/
(not used yet, but might be useful to integrate something?)

metrics

https://tip.golang.org/pkg/runtime/metrics/
We should investigate how this extends/replaces opencensus/opentelemetry #179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant