diff --git a/cache/cache.go b/cache/cache.go index b5d2db1..ddda311 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -2,8 +2,8 @@ package cache import ( "errors" + "github.com/MAN00K/unitech_golib/tlog" "github.com/creachadair/cityhash" - "gitlab.com/unitechdev/golib/tlog" "sync" "time" ) diff --git a/gfetcd/client.go b/gfetcd/client.go index f72c9ab..5d7998f 100644 --- a/gfetcd/client.go +++ b/gfetcd/client.go @@ -3,7 +3,7 @@ package gfetcd import ( "context" "fmt" - "gitlab.com/unitechdev/golib/tlog" + "github.com/MAN00K/unitech_golib/tlog" "os" "strings" "time" diff --git a/gfetcd/server.go b/gfetcd/server.go index 09ec09f..bcbbb7b 100644 --- a/gfetcd/server.go +++ b/gfetcd/server.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "gitlab.com/unitechdev/golib/tlog" + "github.com/MAN00K/unitech_golib/tlog" "github.com/coreos/etcd/clientv3" etcdnaming "github.com/coreos/etcd/clientv3/naming" diff --git a/kafka/kafka.go b/kafka/kafka.go index 5137eaf..8189278 100644 --- a/kafka/kafka.go +++ b/kafka/kafka.go @@ -6,7 +6,7 @@ import ( "strings" "sync" - "gitlab.com/unitechdev/golib/tlog" + "github.com/MAN00K/unitech_golib/tlog" "github.com/Shopify/sarama" cluster "github.com/bsm/sarama-cluster" diff --git a/lrucache/lrucache.go b/lrucache/lrucache.go index 952971c..04dbbd8 100644 --- a/lrucache/lrucache.go +++ b/lrucache/lrucache.go @@ -2,9 +2,9 @@ package lrucache import ( "errors" + "github.com/MAN00K/unitech_golib/tlog" "github.com/creachadair/cityhash" "github.com/hashicorp/golang-lru" - "gitlab.com/unitechdev/golib/tlog" "time" ) diff --git a/metric/examples/exporter_demo.go b/metric/examples/exporter_demo.go index a3d178c..71ad5b7 100644 --- a/metric/examples/exporter_demo.go +++ b/metric/examples/exporter_demo.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitlab.com/unitechdev/golib/metric" + "github.com/MAN00K/unitech_golib/metric" ) func main() { diff --git a/metric/examples/main.go b/metric/examples/main.go index b974dce..1b2bb5a 100644 --- a/metric/examples/main.go +++ b/metric/examples/main.go @@ -2,8 +2,8 @@ package main import ( "fmt" + "github.com/MAN00K/unitech_golib/metric" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/unitechdev/golib/metric" "time" ) diff --git a/metric/exporter.go b/metric/exporter.go index 604d7a4..b55433c 100644 --- a/metric/exporter.go +++ b/metric/exporter.go @@ -9,9 +9,9 @@ import ( "strconv" "time" + "github.com/MAN00K/unitech_golib/tlog" consulapi "github.com/hashicorp/consul/api" "github.com/prometheus/client_golang/prometheus/promhttp" - "gitlab.com/unitechdev/golib/tlog" ) const ( diff --git a/metrics/example1/example1.go b/metrics/example1/example1.go index 7d57f1c..c05235c 100644 --- a/metrics/example1/example1.go +++ b/metrics/example1/example1.go @@ -2,9 +2,9 @@ package main import ( "flag" - "gitlab.com/unitechdev/golib/metrics" - "gitlab.com/unitechdev/golib/metrics/prometheus" - "gitlab.com/unitechdev/golib/tlog" + "github.com/MAN00K/unitech_golib/metrics" + "github.com/MAN00K/unitech_golib/metrics/prometheus" + "github.com/MAN00K/unitech_golib/tlog" "math/rand" "os" "os/signal" diff --git a/metrics/metrics.go b/metrics/metrics.go index 1677fb1..0919d96 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -4,7 +4,7 @@ import ( "encoding/json" "errors" "fmt" - "gitlab.com/unitechdev/golib/tlog" + "github.com/MAN00K/unitech_golib/tlog" "net/http" "os" "strconv" diff --git a/metrics/prometheus/prometheus.go b/metrics/prometheus/prometheus.go index 559a2f5..7e74b50 100644 --- a/metrics/prometheus/prometheus.go +++ b/metrics/prometheus/prometheus.go @@ -1,8 +1,8 @@ package prometheus import ( + "github.com/MAN00K/unitech_golib/metrics" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/unitechdev/golib/metrics" ) // Counter implements Counter, via a Prometheus CounterVec. diff --git a/metrics/prometheus/prometheus_test.go b/metrics/prometheus/prometheus_test.go index 011fee4..9f1db92 100644 --- a/metrics/prometheus/prometheus_test.go +++ b/metrics/prometheus/prometheus_test.go @@ -2,9 +2,9 @@ package prometheus import ( "fmt" + "github.com/MAN00K/unitech_golib/metrics" stdprometheus "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" - "gitlab.com/unitechdev/golib/metrics" "io/ioutil" "math/rand" "net/http" diff --git a/qgrpc/op.go b/qgrpc/op.go index 6e9dfea..202517f 100644 --- a/qgrpc/op.go +++ b/qgrpc/op.go @@ -3,9 +3,9 @@ package qgrpc import ( "context" "fmt" + "github.com/MAN00K/unitech_golib/qgrpc/ping" + "github.com/MAN00K/unitech_golib/tlog" "github.com/coreos/etcd/clientv3" - "gitlab.com/unitechdev/golib/qgrpc/ping" - "gitlab.com/unitechdev/golib/tlog" "google.golang.org/grpc" "google.golang.org/grpc/keepalive" "strings" diff --git a/qgrpc/register.go b/qgrpc/register.go index fe4733e..b7234bf 100644 --- a/qgrpc/register.go +++ b/qgrpc/register.go @@ -2,8 +2,8 @@ package qgrpc import ( "context" + "github.com/MAN00K/unitech_golib/tlog" "github.com/coreos/etcd/clientv3" - "gitlab.com/unitechdev/golib/tlog" "path" "time" )