regen files with never protoc (#6)

* regen files with never protoc
* rewrite import path

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-08-19 17:47:17 +03:00
committed by GitHub
parent 7a407d5792
commit 06136312bb
357 changed files with 8755 additions and 3310 deletions

View File

@@ -3,8 +3,8 @@ package noop
import (
"time"
log "github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/metrics"
log "github.com/unistack-org/micro/v3/logger"
"github.com/unistack-org/micro/v3/metrics"
)
// Reporter is an implementation of metrics.Reporter:

View File

@@ -3,7 +3,7 @@ package noop
import (
"testing"
"github.com/micro/go-micro/v3/metrics"
"github.com/unistack-org/micro/v3/metrics"
"github.com/stretchr/testify/assert"
)

View File

@@ -4,7 +4,7 @@ import (
"errors"
"time"
"github.com/micro/go-micro/v3/metrics"
"github.com/unistack-org/micro/v3/metrics"
)
// ErrPrometheusPanic is a catch-all for the panics which can be thrown by the Prometheus client:

View File

@@ -4,8 +4,8 @@ import (
"net/http"
"strings"
log "github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/metrics"
log "github.com/unistack-org/micro/v3/logger"
"github.com/unistack-org/micro/v3/metrics"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
)

View File

@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/micro/go-micro/v3/metrics"
"github.com/unistack-org/micro/v3/metrics"
"github.com/stretchr/testify/assert"
)

View File

@@ -5,8 +5,8 @@ import (
"context"
"github.com/micro/go-micro/v3/metrics"
"github.com/micro/go-micro/v3/server"
"github.com/unistack-org/micro/v3/metrics"
"github.com/unistack-org/micro/v3/server"
)
// Wrapper provides a HandlerFunc for metrics.Reporter implementations: