forked from fl00r/go-tarantool-1.6
-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Labels
featureA new functionalityA new functionality
Description
Golang has standard library named "context"
https://golang.org/pkg/context/
This library widely used in golang libraries to implement
- cancellation of calculation tree
- timeout of calculation tree
Please read about context and how it used.
Golang standard libraries does not use context directly only because keep compatibility of API since golang 1.0.
But in some libraries you can find usage of context, for instance here:
https://golang.org/pkg/database/sql/#Conn.QueryContext
I propose to get rid of DeadlineIO struct and rewrite driver API to context usage.
It's more explicit and more golang-way, than actual implementation
cebeh, komex, eaglemoor, sashayakovtseva and pnvasanth
Metadata
Metadata
Assignees
Labels
featureA new functionalityA new functionality