diff --git a/cache/cache.go b/cache/cache.go index 2a9744c..1111152 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -3,7 +3,7 @@ package cache import ( "errors" "github.com/creachadair/cityhash" - "globalfintech/golib/tlog" + "unitech/golib/tlog" "sync" "time" ) diff --git a/gfetcd/client.go b/gfetcd/client.go index 008a0a0..a733a30 100644 --- a/gfetcd/client.go +++ b/gfetcd/client.go @@ -3,7 +3,7 @@ package gfetcd import ( "context" "fmt" - "globalfintech/golib/tlog" + "unitech/golib/tlog" "os" "strings" "time" diff --git a/gfetcd/server.go b/gfetcd/server.go index 72a8e5b..89457d5 100644 --- a/gfetcd/server.go +++ b/gfetcd/server.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "globalfintech/golib/tlog" + "unitech/golib/tlog" "github.com/coreos/etcd/clientv3" etcdnaming "github.com/coreos/etcd/clientv3/naming" diff --git a/go.mod b/go.mod index 498d846..dbff4fc 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module globalfintech/golib +module unitech/golib go 1.14 diff --git a/kafka/kafka.go b/kafka/kafka.go index 2d8d0f1..e841c83 100644 --- a/kafka/kafka.go +++ b/kafka/kafka.go @@ -6,7 +6,7 @@ import ( "strings" "sync" - "globalfintech/golib/tlog" + "unitech/golib/tlog" "github.com/Shopify/sarama" cluster "github.com/bsm/sarama-cluster" diff --git a/lrucache/lrucache.go b/lrucache/lrucache.go index 7f943d9..fa00705 100644 --- a/lrucache/lrucache.go +++ b/lrucache/lrucache.go @@ -4,7 +4,7 @@ import ( "errors" "github.com/creachadair/cityhash" "github.com/hashicorp/golang-lru" - "globalfintech/golib/tlog" + "unitech/golib/tlog" "time" ) diff --git a/metric/examples/exporter_demo.go b/metric/examples/exporter_demo.go index 73b7b8f..addd807 100644 --- a/metric/examples/exporter_demo.go +++ b/metric/examples/exporter_demo.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "globalfintech/golib/metric" + "unitech/golib/metric" ) func main() { diff --git a/metric/examples/main.go b/metric/examples/main.go index 34990c5..9e97043 100644 --- a/metric/examples/main.go +++ b/metric/examples/main.go @@ -3,7 +3,7 @@ package main import ( "fmt" "github.com/prometheus/client_golang/prometheus" - "globalfintech/golib/metric" + "unitech/golib/metric" "time" ) diff --git a/metric/exporter.go b/metric/exporter.go index 54a85c7..dcbcf1b 100644 --- a/metric/exporter.go +++ b/metric/exporter.go @@ -11,7 +11,7 @@ import ( consulapi "github.com/hashicorp/consul/api" "github.com/prometheus/client_golang/prometheus/promhttp" - "globalfintech/golib/tlog" + "unitech/golib/tlog" ) const ( diff --git a/metrics/example1/example1.go b/metrics/example1/example1.go index dbb4aed..85c3d40 100644 --- a/metrics/example1/example1.go +++ b/metrics/example1/example1.go @@ -2,9 +2,9 @@ package main import ( "flag" - "globalfintech/golib/metrics" - "globalfintech/golib/metrics/prometheus" - "globalfintech/golib/tlog" + "unitech/golib/metrics" + "unitech/golib/metrics/prometheus" + "unitech/golib/tlog" "math/rand" "os" "os/signal" diff --git a/metrics/metrics.go b/metrics/metrics.go index 5aa636e..cafa8b6 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -4,7 +4,7 @@ import ( "encoding/json" "errors" "fmt" - "globalfintech/golib/tlog" + "unitech/golib/tlog" "net/http" "os" "strconv" diff --git a/metrics/prometheus/prometheus.go b/metrics/prometheus/prometheus.go index 3622d08..dca6908 100644 --- a/metrics/prometheus/prometheus.go +++ b/metrics/prometheus/prometheus.go @@ -2,7 +2,7 @@ package prometheus import ( "github.com/prometheus/client_golang/prometheus" - "globalfintech/golib/metrics" + "unitech/golib/metrics" ) // Counter implements Counter, via a Prometheus CounterVec. diff --git a/metrics/prometheus/prometheus_test.go b/metrics/prometheus/prometheus_test.go index f0b2a23..55a2cbe 100644 --- a/metrics/prometheus/prometheus_test.go +++ b/metrics/prometheus/prometheus_test.go @@ -4,7 +4,7 @@ import ( "fmt" stdprometheus "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" - "globalfintech/golib/metrics" + "unitech/golib/metrics" "io/ioutil" "math/rand" "net/http" diff --git a/qgrpc/op.go b/qgrpc/op.go index 758e3c9..e6ac5ab 100644 --- a/qgrpc/op.go +++ b/qgrpc/op.go @@ -4,8 +4,8 @@ import ( "context" "fmt" "github.com/coreos/etcd/clientv3" - "globalfintech/golib/qgrpc/ping" - "globalfintech/golib/tlog" + "unitech/golib/qgrpc/ping" + "unitech/golib/tlog" "google.golang.org/grpc" "google.golang.org/grpc/keepalive" "strings" diff --git a/qgrpc/register.go b/qgrpc/register.go index c1038d7..e8df857 100644 --- a/qgrpc/register.go +++ b/qgrpc/register.go @@ -3,7 +3,7 @@ package qgrpc import ( "context" "github.com/coreos/etcd/clientv3" - "globalfintech/golib/tlog" + "unitech/golib/tlog" "path" "time" )