From f83fbe1ce5afee1dbc8f75af9d9d6b07afa866c3 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期四, 22 八月 2019 09:52:32 +0800
Subject: [PATCH] add soApi
---
client.go | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/client.go b/client.go
index 20bb145..897ac64 100644
--- a/client.go
+++ b/client.go
@@ -1,5 +1,7 @@
package dbapi
+import "strconv"
+
type Client interface {
//GET
DoGetRequest(url string, params map[string]string, headers map[string]string) ([]byte, error)
@@ -22,5 +24,5 @@
//鍒濆鍖杁bserver鐨勫湴鍧�鍜岀鍙�
func Init(ip string,port int){
- BASIC_URL = "http://"+ ip + ":" + string(port)
+ BASIC_URL = "http://"+ ip + ":" + strconv.Itoa(port)
}
\ No newline at end of file
--
Gitblit v1.8.0