Skip to content

Commit

Permalink
replace golang/glog with forrestjgq/glog
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestjgq committed May 19, 2021
1 parent c751dbf commit cebb221
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion gmeter.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/forrestjgq/gmeter/config"
"github.com/pkg/errors"

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

func parseGlobalVariables(s string) (map[string]string, error) {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module github.com/forrestjgq/gmeter
go 1.15

require (
github.com/forrestjgq/gomark v1.0.13
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/forrestjgq/glog v1.0.1
github.com/forrestjgq/gomark v1.0.18
github.com/golang/protobuf v1.4.3
github.com/gorilla/mux v1.8.0
github.com/huandu/go-clone v1.1.4
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymF
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/forrestjgq/gomark v1.0.13 h1:hzmPMzfOr8p+OA+9vSnY2mILqsZGdrv04/gg+adRKao=
github.com/forrestjgq/gomark v1.0.13/go.mod h1:l75Cd+fJv0xWvu8TWP+7DfTTo+DdToAAdePSFCid/ZQ=
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/forrestjgq/gomark v1.0.18 h1:CDItqvE0r9/7+sBYFC3IE/9IpoZxI/dTHiuZbGV+5wY=
github.com/forrestjgq/gomark v1.0.18/go.mod h1:WHSquz8XmPGW1ptKAfxjgh7Zlp7Sgbf0vjCATTYZn4w=
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/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
Expand Down
2 changes: 1 addition & 1 deletion gplugin/cmd/loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"flag"

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

func main() {
Expand Down
2 changes: 1 addition & 1 deletion gplugin/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"io/ioutil"

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

Expand Down
2 changes: 1 addition & 1 deletion gplugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gplugin
import (
"plugin"

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

"github.com/pkg/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/arcee/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/pkg/errors"
context "golang.org/x/net/context"

"github.com/golang/glog"
"github.com/forrestjgq/glog"
uuid "github.com/satori/go.uuid"
"google.golang.org/grpc"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/meter/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/forrestjgq/gmeter/gplugin"
"github.com/pkg/errors"

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

"github.com/forrestjgq/gmeter/internal/argv"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/meter/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/forrestjgq/gmeter/config"
"github.com/forrestjgq/gmeter/internal/arcee"
"github.com/golang/glog"
"github.com/forrestjgq/glog"
"github.com/pkg/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/meter/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"time"

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

"github.com/forrestjgq/gmeter/config"
Expand Down
2 changes: 1 addition & 1 deletion internal/meter/meter.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sync"
"time"

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

"github.com/forrestjgq/gmeter/config"
"github.com/forrestjgq/gomark"
Expand Down
2 changes: 1 addition & 1 deletion internal/meter/parser_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"math"
"strconv"

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

"github.com/pkg/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/meter/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/pkg/errors"

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

type plan struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/meter/report_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

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

"github.com/forrestjgq/gmeter/config"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/meter/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/pkg/errors"

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

"github.com/forrestjgq/gomark"
)
Expand Down

0 comments on commit cebb221

Please sign in to comment.