Skip to content

Commit

Permalink
replace siddontang with pingcap
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouqiang-cl committed Nov 14, 2019
1 parent b8305fa commit d4ce954
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions cmd/go-tpc/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion cmd/go-tpc/tpcc.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/siddontang/go-tpc/tpcc"
"github.com/pingcap/go-tpc/tpcc"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/siddontang/go-tpc
module github.com/pingcap/go-tpc

go 1.13

Expand Down
2 changes: 1 addition & 1 deletion pkg/workload/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tpcc/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"math/rand"
"strconv"

"github.com/siddontang/go-tpc/pkg/load"
"github.com/pingcap/go-tpc/pkg/load"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion tpcc/rand.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions tpcc/workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4ce954

Please sign in to comment.