Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove module path #123

Merged
merged 1 commit into from
Dec 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/tape/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/guoger/tape/pkg/infra"
"tape/pkg/infra"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (
"os"
"os/exec"

"github.com/guoger/tape/e2e/mock"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
"tape/e2e/mock"
)

var _ = Describe("Mock test", func() {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/guoger/tape
module tape

go 1.12
go 1.14

require (
github.com/Shopify/sarama v1.23.1 // indirect
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 @@ -4,10 +4,10 @@ import (
"net"
"testing"

"github.com/guoger/tape/e2e/mock"
"github.com/hyperledger/fabric-protos-go/peer"
log "github.com/sirupsen/logrus"
"google.golang.org/grpc"
"tape/e2e/mock"
)

func StartMockPeer() (*mock.Server, string) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/client_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package infra_test

import (
"github.com/guoger/tape/pkg/infra"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"tape/pkg/infra"
)

var _ = Describe("Client", func() {
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,9 +5,9 @@ import (
"os"
"text/template"

"github.com/guoger/tape/pkg/infra"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"tape/pkg/infra"
)

func generateConfigFile(FileName string, values interface{}) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/proposer_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package infra_test

import (
"github.com/guoger/tape/pkg/infra"
"github.com/hyperledger/fabric-protos-go/peer"
"github.com/hyperledger/fabric-sdk-go/pkg/fab/mocks"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
log "github.com/sirupsen/logrus"
"tape/pkg/infra"
)

var _ = Describe("Proposer", func() {
Expand Down