change gitee.com/johng/gf -> github.com/gogf/gf

This commit is contained in:
John
2019-02-02 16:18:25 +08:00
parent 150aa7e2c2
commit 76c49170bd
706 changed files with 1697 additions and 1697 deletions

View File

@ -75,7 +75,7 @@ Periodically emit every metric to Graphite using the [Graphite client](https://g
```go
import "gitee.com/johng/gf/third/github.com/cyberdelia/go-metrics-graphite"
import "github.com/gogf/gf/third/github.com/cyberdelia/go-metrics-graphite"
addr, _ := net.ResolveTCPAddr("tcp", "127.0.0.1:2003")
go graphite.Graphite(metrics.DefaultRegistry, 10e9, "metrics", addr)
@ -89,7 +89,7 @@ issues [#121](https://github.com/rcrowley/go-metrics/issues/121) and
[#124](https://github.com/rcrowley/go-metrics/issues/124) for progress and details.
```go
import "gitee.com/johng/gf/third/github.com/vrischmann/go-metrics-influxdb"
import "github.com/gogf/gf/third/github.com/vrischmann/go-metrics-influxdb"
go influxdb.InfluxDB(metrics.DefaultRegistry,
10e9,
@ -106,7 +106,7 @@ Periodically upload every metric to Librato using the [Librato client](https://g
has been deprecated and moved to the repository linked above.
```go
import "gitee.com/johng/gf/third/github.com/mihasya/go-metrics-librato"
import "github.com/gogf/gf/third/github.com/mihasya/go-metrics-librato"
go librato.Librato(metrics.DefaultRegistry,
10e9, // interval
@ -121,7 +121,7 @@ go librato.Librato(metrics.DefaultRegistry,
Periodically emit every metric to StatHat:
```go
import "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics/stathat"
import "github.com/gogf/gf/third/github.com/rcrowley/go-metrics/stathat"
go stathat.Stathat(metrics.DefaultRegistry, 10e9, "example@example.com")
```
@ -134,7 +134,7 @@ as well as all your go-metrics.
```go
import "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics/exp"
import "github.com/gogf/gf/third/github.com/rcrowley/go-metrics/exp"
exp.Exp(metrics.DefaultRegistry)
```

View File

@ -2,7 +2,7 @@ package main
import (
"fmt"
"gitee.com/johng/gf/third/github.com/rcrowley/go-metrics"
"github.com/gogf/gf/third/github.com/rcrowley/go-metrics"
"time"
)

View File

@ -2,8 +2,8 @@ package main
import (
"errors"
"gitee.com/johng/gf/third/github.com/rcrowley/go-metrics"
// "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics/stathat"
"github.com/gogf/gf/third/github.com/rcrowley/go-metrics"
// "github.com/gogf/gf/third/github.com/rcrowley/go-metrics/stathat"
"log"
"math/rand"
"os"

View File

@ -8,7 +8,7 @@ import (
"net/http"
"sync"
"gitee.com/johng/gf/third/github.com/rcrowley/go-metrics"
"github.com/gogf/gf/third/github.com/rcrowley/go-metrics"
)
type exp struct {

View File

@ -7,7 +7,7 @@ import (
"regexp"
"time"
"gitee.com/johng/gf/third/github.com/rcrowley/go-metrics"
"github.com/gogf/gf/third/github.com/rcrowley/go-metrics"
)
// a regexp for extracting the unit from time.Duration.String

View File

@ -2,8 +2,8 @@
package stathat
import (
"gitee.com/johng/gf/third/github.com/rcrowley/go-metrics"
"gitee.com/johng/gf/third/github.com/stathat/go"
"github.com/gogf/gf/third/github.com/rcrowley/go-metrics"
"github.com/gogf/gf/third/github.com/stathat/go"
"log"
"time"
)