Skip to content

Commit 6f883b5

Browse files
committed
Fix import path from v4 to v6 and update go mod version
1 parent ee9e4c8 commit 6f883b5

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ github.com/twmb/murmur3 v1.1.8 h1:8Yt9taO/WN3l08xErzjeschgZU2QSrwm1kclYq+0aRg=
105105
github.com/twmb/murmur3 v1.1.8/go.mod h1:Qq/R7NUyOfr65zD+6Q5IHKsJLwP7exErjN6lyyq3OSQ=
106106
github.com/uber-go/tally v5.0.0+incompatible h1:74zRlWs/k8FpgU8QlYhN51zkemZPuPfX6iJudMCmNWM=
107107
github.com/uber-go/tally v5.0.0+incompatible/go.mod h1:YDTIBxdXyOU/sCWilKB4bgyufu1cEi0jdVnRdxvjnmU=
108-
github.com/uber-go/tally/v4 v4.1.17 h1:C+U4BKtVDXTszuzU+WH8JVQvRVnaVKxzZrROFyDrvS8=
109-
github.com/uber-go/tally/v4 v4.1.17/go.mod h1:ZdpiHRGSa3z4NIAc1VlEH4SiknR885fOIF08xmS0gaU=
108+
github.com/uber-go/tally/v6 v4.1.17 h1:C+U4BKtVDXTszuzU+WH8JVQvRVnaVKxzZrROFyDrvS8=
109+
github.com/uber-go/tally/v6 v4.1.17/go.mod h1:ZdpiHRGSa3z4NIAc1VlEH4SiknR885fOIF08xmS0gaU=
110110
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
111111
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
112112
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=

internal/identity/accumulator_benchmark_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"fmt"
2525
"testing"
2626

27-
"github.com/uber-go/tally/v4/internal/identity"
27+
"github.com/uber-go/tally/v6/internal/identity"
2828
)
2929

3030
func BenchmarkAccumulator_StringStringMap(b *testing.B) {

m3/example/m3_main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ import (
2929
"os"
3030
"time"
3131

32-
tally "github.com/uber-go/tally/v4"
33-
"github.com/uber-go/tally/v4/m3"
34-
m3thrift "github.com/uber-go/tally/v4/m3/thrift/v1"
32+
tally "github.com/uber-go/tally/v6"
33+
"github.com/uber-go/tally/v6/m3"
34+
m3thrift "github.com/uber-go/tally/v6/m3/thrift/v1"
3535

3636
validator "gopkg.in/validator.v2"
3737
yaml "gopkg.in/yaml.v2"

m3/thrift/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
gen-thrift:
2-
@thrift --gen go:thrift_import="github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift" -out . v1/v1.thrift && rm -rf v1/m3-remote
2+
@thrift --gen go:thrift_import="github.com/uber-go/tally/v6/thirdparty/github.com/apache/thrift/lib/go/thrift" -out . v1/v1.thrift && rm -rf v1/m3-remote
33
@echo Generated v1 Go Thrift in metrics/m3/thrift/v1.
4-
@thrift --gen go:thrift_import="github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift" -out . v2/v2.thrift && rm -rf v2/m3-remote
4+
@thrift --gen go:thrift_import="github.com/uber-go/tally/v6/thirdparty/github.com/apache/thrift/lib/go/thrift" -out . v2/v2.thrift && rm -rf v2/m3-remote
55
@echo Generated v2 Go Thrift in metrics/m3/thrift/v2.
66
@git apply thrift.diff
77
@echo Applied thrift.diff.

prometheus/example/prometheus_main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import (
2626
"net/http"
2727
"time"
2828

29-
tally "github.com/uber-go/tally/v4"
30-
promreporter "github.com/uber-go/tally/v4/prometheus"
29+
tally "github.com/uber-go/tally/v6"
30+
promreporter "github.com/uber-go/tally/v6/prometheus"
3131
)
3232

3333
func main() {

statsd/example/statsd_main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import (
2626
"time"
2727

2828
"github.com/cactus/go-statsd-client/v5/statsd"
29-
tally "github.com/uber-go/tally/v4"
30-
statsdreporter "github.com/uber-go/tally/v4/statsd"
29+
tally "github.com/uber-go/tally/v6"
30+
statsdreporter "github.com/uber-go/tally/v6/statsd"
3131
)
3232

3333
// To view statsd emitted metrics locally you can use

0 commit comments

Comments
 (0)