From 7a2072199712d5a9744b30445a82f610209a9caa Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Fri, 29 Oct 2021 00:04:06 +0300 Subject: [PATCH] fix tests (#9) 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