switch to stdlib context

This commit is contained in:
Asim Aslam
2018-03-03 11:53:52 +00:00
parent 982e6068cf
commit c9b40cb33b
42 changed files with 53 additions and 102 deletions

View File

@@ -1,9 +1,10 @@
package consul
import (
"context"
consul "github.com/hashicorp/consul/api"
"github.com/micro/go-micro/registry"
"golang.org/x/net/context"
)
func Config(c *consul.Config) registry.Option {

View File

@@ -1,10 +1,9 @@
package registry
import (
"context"
"crypto/tls"
"time"
"golang.org/x/net/context"
)
type Options struct {