From fa1a8af683ab27ef0950b33a74012dbe528cace6 Mon Sep 17 00:00:00 2001 From: pugnack Date: Fri, 17 Oct 2025 12:57:09 +0500 Subject: [PATCH] add compile-time interface compliance check (#161) --- client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.go b/client.go index ceb5f63..5eb4fc0 100644 --- a/client.go +++ b/client.go @@ -16,6 +16,8 @@ import ( "go.unistack.org/micro-client-http/v4/status" ) +var _ client.Client = (*Client)(nil) + var DefaultContentType = "application/json" type Client struct {