move all imports to own domain

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-10-02 19:55:07 +03:00
parent ada59119cc
commit 5eb0e56373
152 changed files with 378 additions and 454 deletions

View File

@@ -1,4 +1,4 @@
package http
package http // import "go.unistack.org/micro/v3/util/http"
import (
"context"
@@ -8,8 +8,8 @@ import (
"net/http"
"strings"
"github.com/unistack-org/micro/v3/metadata"
"github.com/unistack-org/micro/v3/selector/random"
"go.unistack.org/micro/v3/metadata"
"go.unistack.org/micro/v3/selector/random"
)
// Write sets the status and body on a http ResponseWriter

View File

@@ -8,10 +8,10 @@ import (
"net/http"
"testing"
"github.com/unistack-org/micro/v3/register"
"github.com/unistack-org/micro/v3/register/memory"
"github.com/unistack-org/micro/v3/router"
regRouter "github.com/unistack-org/micro/v3/router/register"
"go.unistack.org/micro/v3/register"
"go.unistack.org/micro/v3/register/memory"
"go.unistack.org/micro/v3/router"
regRouter "go.unistack.org/micro/v3/router/register"
)
func TestRoundTripper(t *testing.T) {

View File

@@ -1,6 +1,6 @@
package http
import "github.com/unistack-org/micro/v3/router"
import "go.unistack.org/micro/v3/router"
// Options struct
type Options struct {

View File

@@ -4,8 +4,8 @@ import (
"errors"
"net/http"
"github.com/unistack-org/micro/v3/router"
"github.com/unistack-org/micro/v3/selector"
"go.unistack.org/micro/v3/router"
"go.unistack.org/micro/v3/selector"
)
type roundTripper struct {