add compile-time interface compliance check (#161)
This commit is contained in:
		| @@ -16,6 +16,8 @@ import ( | |||||||
| 	"go.unistack.org/micro-client-http/v4/status" | 	"go.unistack.org/micro-client-http/v4/status" | ||||||
| ) | ) | ||||||
|  |  | ||||||
|  | var _ client.Client = (*Client)(nil) | ||||||
|  |  | ||||||
| var DefaultContentType = "application/json" | var DefaultContentType = "application/json" | ||||||
|  |  | ||||||
| type Client struct { | type Client struct { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user