move options under config

This commit is contained in:
Asim Aslam 2019-06-12 12:45:42 +01:00
parent a6e09c9249
commit 97967cbe14
10 changed files with 8 additions and 8 deletions

View File

@ -10,7 +10,7 @@ import (
"github.com/micro/go-micro/client/grpc" "github.com/micro/go-micro/client/grpc"
"github.com/micro/go-micro/codec" "github.com/micro/go-micro/codec"
"github.com/micro/go-micro/codec/bytes" "github.com/micro/go-micro/codec/bytes"
"github.com/micro/go-micro/options" "github.com/micro/go-micro/config/options"
"github.com/micro/go-micro/proxy" "github.com/micro/go-micro/proxy"
"github.com/micro/go-micro/server" "github.com/micro/go-micro/server"
) )

View File

@ -11,7 +11,7 @@ import (
"path" "path"
"github.com/micro/go-micro/errors" "github.com/micro/go-micro/errors"
"github.com/micro/go-micro/options" "github.com/micro/go-micro/config/options"
"github.com/micro/go-micro/proxy" "github.com/micro/go-micro/proxy"
"github.com/micro/go-micro/server" "github.com/micro/go-micro/server"
) )

View File

@ -9,7 +9,7 @@ import (
"github.com/micro/go-micro/client" "github.com/micro/go-micro/client"
"github.com/micro/go-micro/codec" "github.com/micro/go-micro/codec"
"github.com/micro/go-micro/codec/bytes" "github.com/micro/go-micro/codec/bytes"
"github.com/micro/go-micro/options" "github.com/micro/go-micro/config/options"
"github.com/micro/go-micro/proxy" "github.com/micro/go-micro/proxy"
"github.com/micro/go-micro/server" "github.com/micro/go-micro/server"
) )

View File

@ -5,7 +5,7 @@ import (
"context" "context"
"github.com/micro/go-micro/client" "github.com/micro/go-micro/client"
"github.com/micro/go-micro/options" "github.com/micro/go-micro/config/options"
"github.com/micro/go-micro/server" "github.com/micro/go-micro/server"
) )

View File

@ -6,7 +6,7 @@ import (
"net" "net"
"github.com/hashicorp/consul/api" "github.com/hashicorp/consul/api"
"github.com/micro/go-micro/options" "github.com/micro/go-micro/config/options"
"github.com/micro/go-micro/store" "github.com/micro/go-micro/store"
) )

View File

@ -5,7 +5,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/micro/go-micro/options" "github.com/micro/go-micro/config/options"
"github.com/micro/go-micro/store" "github.com/micro/go-micro/store"
) )

View File

@ -1,7 +1,7 @@
package store package store
import ( import (
"github.com/micro/go-micro/options" "github.com/micro/go-micro/config/options"
) )
// Set the nodes used to back the store // Set the nodes used to back the store

View File

@ -5,7 +5,7 @@ import (
"errors" "errors"
"time" "time"
"github.com/micro/go-micro/options" "github.com/micro/go-micro/config/options"
) )
var ( var (