From 420079d4c5890a0e502df2c14a4e4b805045a07c Mon Sep 17 00:00:00 2001 From: pugnack Date: Thu, 9 Oct 2025 13:20:37 +0500 Subject: [PATCH] add compile-time interface compliance check --- client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.go b/client.go index e0cdbf3..357d5dd 100644 --- a/client.go +++ b/client.go @@ -14,6 +14,8 @@ import ( "go.unistack.org/micro/v3/tracer" ) +var _ client.Client = (*Client)(nil) + var DefaultContentType = "application/json" type Client struct {