Skip to content

Commit

Permalink
replace forrestjgq/glog from golang/glog
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestjgq committed May 19, 2021
1 parent 7667e34 commit 0446a8c
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion cmd/main/gomark.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

"github.com/forrestjgq/gomark"
"github.com/forrestjgq/gomark/internal/gm"
"github.com/golang/glog"
"github.com/forrestjgq/glog"
)

var mode = ""
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/forrestjgq/gomark
go 1.15

require (
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/forrestjgq/glog v1.0.1
github.com/gorilla/mux v1.8.0
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/nsf/termbox-go v0.0.0-20201107200903-9b52a5faed9e
github.com/nsf/termbox-go v0.0.0-20201107200903-9b52a5faed9e // indirect
github.com/valyala/fastrand v1.0.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/forrestjgq/glog v1.0.1 h1:GUrMTt+Pj/AocjDEj3xGUFnKi0smZmbMVnMcF7PbpiI=
github.com/forrestjgq/glog v1.0.1/go.mod h1:HYbov2aMpByFWGXxZY/6soQ8S42d19Jb9w7r7XTT4cs=
github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
Expand Down
2 changes: 1 addition & 1 deletion internal/gm/int_recoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/golang/glog"
"github.com/forrestjgq/glog"
)

func TestIntRecorder_Sanity(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/gm/percentile.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"reflect"
"sort"

"github.com/golang/glog"
"github.com/forrestjgq/glog"

fr "github.com/valyala/fastrand"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/gm/percentile_sampler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gm
import (
"time"

"github.com/golang/glog"
"github.com/forrestjgq/glog"
)

type PercentileOperator func(left, right *PercentileSamples)
Expand Down
2 changes: 1 addition & 1 deletion internal/gm/sampler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gm
import (
"time"

"github.com/golang/glog"
"github.com/forrestjgq/glog"
)

type sample struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/gm/series.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io"
"strconv"

"github.com/golang/glog"
"github.com/forrestjgq/glog"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/gm/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"unicode"

"github.com/forrestjgq/gomark/internal/util"
"github.com/golang/glog"
"github.com/forrestjgq/glog"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/gm/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"unsafe"

"github.com/golang/glog"
"github.com/forrestjgq/glog"
)

type Value struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/gm/window.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"io"

"github.com/golang/glog"
"github.com/forrestjgq/glog"
)

type SeriesFrequency int
Expand Down
2 changes: 1 addition & 1 deletion internal/httpsrv/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/forrestjgq/gomark/gmi"

"github.com/golang/glog"
"github.com/forrestjgq/glog"

"github.com/forrestjgq/gomark/internal/gm"

Expand Down
2 changes: 1 addition & 1 deletion latency.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/forrestjgq/gomark/gmi"
"github.com/golang/glog"
"github.com/forrestjgq/glog"
)

// Latency provide a convenient way to record a single latency.
Expand Down
2 changes: 1 addition & 1 deletion mark.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/forrestjgq/gomark/gmi"
"github.com/forrestjgq/gomark/internal/gm"
"github.com/forrestjgq/gomark/internal/httpsrv"
"github.com/golang/glog"
"github.com/forrestjgq/glog"
)

// StartHTTPServer will create an http server for gomark.
Expand Down

0 comments on commit 0446a8c

Please sign in to comment.