Skip to content

Commit

Permalink
fix UpperCases in module package names
Browse files Browse the repository at this point in the history
Signed-off-by: DavidLiu <[email protected]>
  • Loading branch information
DavidLiu committed Feb 27, 2022
1 parent e91bdae commit 9abc07f
Show file tree
Hide file tree
Showing 19 changed files with 47 additions and 130 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
displayName: install make tool
- task: GoTool@0
inputs:
version: "1.14"
version: "1.16"
displayName: install go
- script: make basic-checks
displayName: run basic checks like linter
Expand Down
2 changes: 1 addition & 1 deletion cmd/tape/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/Hyperledger-TWGC/tape/pkg/infra"
"github.com/hyperledger-twgc/tape/pkg/infra"

"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion e2e/multi_peer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io/ioutil"
"os/exec"

"github.com/Hyperledger-TWGC/tape/e2e/mock"
"github.com/hyperledger-twgc/tape/e2e/mock"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion e2e/single_peer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io/ioutil"
"os/exec"

"github.com/Hyperledger-TWGC/tape/e2e/mock"
"github.com/hyperledger-twgc/tape/e2e/mock"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
14 changes: 4 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,26 +1,20 @@
module github.com/Hyperledger-TWGC/tape
module github.com/hyperledger-twgc/tape

go 1.14
go 1.16

require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/gogo/protobuf v1.2.1
github.com/golang/protobuf v1.4.2
github.com/hyperledger/fabric-protos-go v0.0.0-20200424173316-dd554ba3746e
github.com/hyperledger/fabric-sdk-go v1.0.0-beta1.0.20200317135226-e71412ff3db1
github.com/kr/pretty v0.2.0 // indirect
github.com/onsi/ginkgo v1.13.0
github.com/onsi/gomega v1.10.1
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.6.0
github.com/spf13/viper v1.4.0 // indirect
github.com/stretchr/testify v1.5.1 // indirect
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de // indirect
golang.org/x/net v0.0.0-20200625001655-4c5254603344 // indirect
golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed // indirect
golang.org/x/time v0.0.0-20201208040808-7e3f01d25324
google.golang.org/genproto v0.0.0-20191028173616-919d9bdd9fe6 // indirect
google.golang.org/grpc v1.24.0
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.3.0
)
119 changes: 21 additions & 98 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gotools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ gotools-clean:
gotool.%:
$(eval TOOL = ${subst gotool.,,${@}})
@echo "Building ${go.fqp.${TOOL}} -> $(TOOL)"
go install ${go.fqp.${TOOL}}
go install ${go.fqp.${TOOL}}@latest

$(GOTOOLS_BINDIR)/%:
$(eval TOOL = ${subst $(GOTOOLS_BINDIR)/,,${@}})
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/Hyperledger-TWGC/tape/e2e/mock"
"github.com/hyperledger-twgc/tape/e2e/mock"

"github.com/hyperledger/fabric-protos-go/peer"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/bitmap/bitmap_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package bitmap_test

import (
"github.com/Hyperledger-TWGC/tape/pkg/infra/bitmap"
"github.com/hyperledger-twgc/tape/pkg/infra/bitmap"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/block_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"time"

"github.com/Hyperledger-TWGC/tape/pkg/infra/bitmap"
"github.com/hyperledger-twgc/tape/pkg/infra/bitmap"

"github.com/hyperledger/fabric-protos-go/peer"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/block_collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync"
"time"

"github.com/Hyperledger-TWGC/tape/pkg/infra"
"github.com/hyperledger-twgc/tape/pkg/infra"

"github.com/hyperledger/fabric-protos-go/peer"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/tls"
"time"

"github.com/Hyperledger-TWGC/tape/internal/fabric/core/comm"
"github.com/hyperledger-twgc/tape/internal/fabric/core/comm"

"github.com/hyperledger/fabric-protos-go/orderer"
"github.com/hyperledger/fabric-protos-go/peer"
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package infra_test
import (
"context"

"github.com/Hyperledger-TWGC/tape/pkg/infra"
"github.com/hyperledger-twgc/tape/pkg/infra"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"text/template"

"github.com/Hyperledger-TWGC/tape/pkg/infra"
"github.com/hyperledger-twgc/tape/pkg/infra"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions pkg/infra/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"io/ioutil"
"math/big"

"github.com/Hyperledger-TWGC/tape/internal/fabric/bccsp/utils"
"github.com/Hyperledger-TWGC/tape/internal/fabric/common/crypto"
"github.com/hyperledger-twgc/tape/internal/fabric/bccsp/utils"
"github.com/hyperledger-twgc/tape/internal/fabric/common/crypto"

"github.com/hyperledger/fabric-protos-go/common"
"github.com/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/infra/initiator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"os"
"time"

"github.com/Hyperledger-TWGC/tape/e2e"
"github.com/Hyperledger-TWGC/tape/pkg/infra"
"github.com/hyperledger-twgc/tape/e2e"
"github.com/hyperledger-twgc/tape/pkg/infra"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
6 changes: 3 additions & 3 deletions pkg/infra/observer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"os"
"time"

"github.com/Hyperledger-TWGC/tape/e2e"
"github.com/Hyperledger-TWGC/tape/e2e/mock"
"github.com/Hyperledger-TWGC/tape/pkg/infra"
"github.com/hyperledger-twgc/tape/e2e"
"github.com/hyperledger-twgc/tape/e2e/mock"
"github.com/hyperledger-twgc/tape/pkg/infra"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"math"

"github.com/Hyperledger-TWGC/tape/internal/fabric/protoutil"
"github.com/hyperledger-twgc/tape/internal/fabric/protoutil"

"github.com/golang/protobuf/proto"
"github.com/hyperledger/fabric-protos-go/common"
Expand Down
4 changes: 2 additions & 2 deletions pkg/infra/proposer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package infra_test
import (
"context"

"github.com/Hyperledger-TWGC/tape/e2e/mock"
"github.com/Hyperledger-TWGC/tape/pkg/infra"
"github.com/hyperledger-twgc/tape/e2e/mock"
"github.com/hyperledger-twgc/tape/pkg/infra"

"github.com/hyperledger/fabric-protos-go/peer"
"github.com/hyperledger/fabric-sdk-go/pkg/fab/mocks"
Expand Down

0 comments on commit 9abc07f

Please sign in to comment.