From 3e911557e8e81cd5eff794e03a54c30f036f9ed5 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 23 六月 2020 15:35:02 +0800
Subject: [PATCH] fix func arg

---
 clientFactory.go |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/clientFactory.go b/clientFactory.go
index 0bb07d3..d498d71 100644
--- a/clientFactory.go
+++ b/clientFactory.go
@@ -2,5 +2,8 @@
 
 //Factory new client
 func NewClient() Client {
-	return &HttpClient{}
+	var client Client
+	client = &HttpClient{}
+	//client = &ReqRepClient{}
+	return client
 }

--
Gitblit v1.8.0