diff --git a/cmd/main/gomark.go b/cmd/main/gomark.go index fa9e91a..eabbbb8 100644 --- a/cmd/main/gomark.go +++ b/cmd/main/gomark.go @@ -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 = "" diff --git a/go.mod b/go.mod index 753a4df..b623717 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index 0924cf9..d29b2fc 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/internal/gm/int_recoder_test.go b/internal/gm/int_recoder_test.go index f6dcb5a..60be3b2 100644 --- a/internal/gm/int_recoder_test.go +++ b/internal/gm/int_recoder_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/golang/glog" + "github.com/forrestjgq/glog" ) func TestIntRecorder_Sanity(t *testing.T) { diff --git a/internal/gm/percentile.go b/internal/gm/percentile.go index 49a4a20..a582921 100644 --- a/internal/gm/percentile.go +++ b/internal/gm/percentile.go @@ -7,7 +7,7 @@ import ( "reflect" "sort" - "github.com/golang/glog" + "github.com/forrestjgq/glog" fr "github.com/valyala/fastrand" ) diff --git a/internal/gm/percentile_sampler.go b/internal/gm/percentile_sampler.go index 2cd9673..31815d5 100644 --- a/internal/gm/percentile_sampler.go +++ b/internal/gm/percentile_sampler.go @@ -3,7 +3,7 @@ package gm import ( "time" - "github.com/golang/glog" + "github.com/forrestjgq/glog" ) type PercentileOperator func(left, right *PercentileSamples) diff --git a/internal/gm/sampler.go b/internal/gm/sampler.go index ec0eb36..668931a 100644 --- a/internal/gm/sampler.go +++ b/internal/gm/sampler.go @@ -3,7 +3,7 @@ package gm import ( "time" - "github.com/golang/glog" + "github.com/forrestjgq/glog" ) type sample struct { diff --git a/internal/gm/series.go b/internal/gm/series.go index 26c71f0..74a45b2 100644 --- a/internal/gm/series.go +++ b/internal/gm/series.go @@ -5,7 +5,7 @@ import ( "io" "strconv" - "github.com/golang/glog" + "github.com/forrestjgq/glog" ) const ( diff --git a/internal/gm/server.go b/internal/gm/server.go index e51e2c2..5d49645 100644 --- a/internal/gm/server.go +++ b/internal/gm/server.go @@ -11,7 +11,7 @@ import ( "unicode" "github.com/forrestjgq/gomark/internal/util" - "github.com/golang/glog" + "github.com/forrestjgq/glog" ) const ( diff --git a/internal/gm/value.go b/internal/gm/value.go index cd18610..a0274fa 100644 --- a/internal/gm/value.go +++ b/internal/gm/value.go @@ -7,7 +7,7 @@ import ( "strconv" "unsafe" - "github.com/golang/glog" + "github.com/forrestjgq/glog" ) type Value struct { diff --git a/internal/gm/window.go b/internal/gm/window.go index 2c82f9b..e52269e 100644 --- a/internal/gm/window.go +++ b/internal/gm/window.go @@ -4,7 +4,7 @@ import ( "errors" "io" - "github.com/golang/glog" + "github.com/forrestjgq/glog" ) type SeriesFrequency int diff --git a/internal/httpsrv/http_server.go b/internal/httpsrv/http_server.go index 6eca60b..3de1c2b 100644 --- a/internal/httpsrv/http_server.go +++ b/internal/httpsrv/http_server.go @@ -11,7 +11,7 @@ import ( "github.com/forrestjgq/gomark/gmi" - "github.com/golang/glog" + "github.com/forrestjgq/glog" "github.com/forrestjgq/gomark/internal/gm" diff --git a/latency.go b/latency.go index 86fe48f..344688d 100644 --- a/latency.go +++ b/latency.go @@ -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. diff --git a/mark.go b/mark.go index dceff71..40d1304 100644 --- a/mark.go +++ b/mark.go @@ -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.