Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

make travis-ci fails with goimports error in test.pb.go #247

Closed
rghetia opened this issue Jan 17, 2020 · 0 comments · Fixed by #248
Closed

make travis-ci fails with goimports error in test.pb.go #247

rghetia opened this issue Jan 17, 2020 · 0 comments · Fixed by #248
Labels
bug Something isn't working

Comments

@rghetia
Copy link
Contributor

rghetia commented Jan 17, 2020

git:(master) make travis-ci
Fmt finished successfully
Lint finished successfully
Vet finished successfully
Embedmd finished successfully
goimports FAILED => fix the following goimports errors:

diff -u internal/testpb/test.pb.go.orig internal/testpb/test.pb.go
--- internal/testpb/test.pb.go.orig 2020-01-17 10:58:26.000000000 -0800
+++ internal/testpb/test.pb.go 2020-01-17 10:58:26.000000000 -0800
@@ -13,12 +13,15 @@
*/
package testpb

-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"

import (

  • fmt "fmt"
  • proto "github.com/golang/protobuf/proto"
  • math "math"
  • context "golang.org/x/net/context"
  • grpc "google.golang.org/grpc"
    )

make: *** [goimports] Error 1

@rghetia rghetia added the bug Something isn't working label Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant