From a99308f5c622a8f2e85c528eaf5422adc7bd1bf0 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Fri, 29 Oct 2021 00:00:46 +0300 Subject: [PATCH] fix tests Signed-off-by: Vasiliy Tolstov --- drpc_pool.go | 1 + error.go | 2 +- stream.go | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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