diff --git a/drpc_pool.go b/drpc_pool.go index 9f12bb0..520ea39 100644 --- a/drpc_pool.go +++ b/drpc_pool.go @@ -1,4 +1,5 @@ // +build ignore +//go:build ignore package grpc diff --git a/error.go b/error.go index 9c5117f..4fc9e4a 100644 --- a/error.go +++ b/error.go @@ -17,7 +17,7 @@ func microError(err error) error { // fallback return &errors.Error{ - Id: "go.micro.client", + ID: "go.micro.client", Code: 500, Detail: err.Error(), // Status: http.StatusInternalServerError, diff --git a/stream.go b/stream.go index f5dd7ad..87b44b0 100644 --- a/stream.go +++ b/stream.go @@ -1,3 +1,4 @@ +// +build ignore //go:build ignore package drpc