From d4ce954f629b49ee198e28d8901958aac956e2d6 Mon Sep 17 00:00:00 2001 From: zhouqiang-cl Date: Thu, 14 Nov 2019 16:35:28 +0800 Subject: [PATCH] replace siddontang with pingcap --- cmd/go-tpc/misc.go | 4 ++-- cmd/go-tpc/tpcc.go | 2 +- go.mod | 2 +- pkg/workload/base.go | 2 +- tpcc/load.go | 2 +- tpcc/rand.go | 2 +- tpcc/workload.go | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cmd/go-tpc/misc.go b/cmd/go-tpc/misc.go index c785a1b..e3120bd 100644 --- a/cmd/go-tpc/misc.go +++ b/cmd/go-tpc/misc.go @@ -7,8 +7,8 @@ import ( "sync" "time" - "github.com/siddontang/go-tpc/pkg/measurement" - "github.com/siddontang/go-tpc/pkg/workload" + "github.com/pingcap/go-tpc/pkg/measurement" + "github.com/pingcap/go-tpc/pkg/workload" ) func execute(ctx context.Context, w workload.Workloader, action string, index int) error { diff --git a/cmd/go-tpc/tpcc.go b/cmd/go-tpc/tpcc.go index 951fe1b..e6b6b51 100644 --- a/cmd/go-tpc/tpcc.go +++ b/cmd/go-tpc/tpcc.go @@ -1,7 +1,7 @@ package main import ( - "github.com/siddontang/go-tpc/tpcc" + "github.com/pingcap/go-tpc/tpcc" "github.com/spf13/cobra" ) diff --git a/go.mod b/go.mod index 364fa88..924574f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/siddontang/go-tpc +module github.com/pingcap/go-tpc go 1.13 diff --git a/pkg/workload/base.go b/pkg/workload/base.go index 435a2ab..8ece136 100644 --- a/pkg/workload/base.go +++ b/pkg/workload/base.go @@ -6,7 +6,7 @@ import ( "math/rand" "time" - "github.com/siddontang/go-tpc/pkg/util" + "github.com/pingcap/go-tpc/pkg/util" ) // TpcState saves state for each thread diff --git a/tpcc/load.go b/tpcc/load.go index b69fb0f..3e7bff6 100644 --- a/tpcc/load.go +++ b/tpcc/load.go @@ -6,7 +6,7 @@ import ( "math/rand" "strconv" - "github.com/siddontang/go-tpc/pkg/load" + "github.com/pingcap/go-tpc/pkg/load" ) const ( diff --git a/tpcc/rand.go b/tpcc/rand.go index 0b7d8ef..20aec50 100644 --- a/tpcc/rand.go +++ b/tpcc/rand.go @@ -4,7 +4,7 @@ import ( "math/rand" "time" - "github.com/siddontang/go-tpc/pkg/util" + "github.com/pingcap/go-tpc/pkg/util" ) // randInt return a random int in [min, max] diff --git a/tpcc/workload.go b/tpcc/workload.go index 8fd5443..49f545a 100644 --- a/tpcc/workload.go +++ b/tpcc/workload.go @@ -7,8 +7,8 @@ import ( "sync" "time" - "github.com/siddontang/go-tpc/pkg/measurement" - "github.com/siddontang/go-tpc/pkg/workload" + "github.com/pingcap/go-tpc/pkg/measurement" + "github.com/pingcap/go-tpc/pkg/workload" ) type contextKey string