From db73e3f4951ffc490ae3a8eed783e31f5c4f47fe Mon Sep 17 00:00:00 2001 From: koolob Date: Tue, 22 Mar 2022 18:13:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=BC=80=E6=94=BE=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client.go b/client.go index e69679a..532650a 100644 --- a/client.go +++ b/client.go @@ -91,6 +91,10 @@ func NewCustomized(config Customization) *Client { } } +func (c *Client) Call(module, action string, param map[string]interface{}, outcome interface{}) (err error) { + return c.call(module, action, param, outcome) +} + // call does almost all the dirty work. func (c *Client) call(module, action string, param map[string]interface{}, outcome interface{}) (err error) { // fire hooks if in need From ebd29afdef7f01a4630210f92317b4cd443d3fbf Mon Sep 17 00:00:00 2001 From: koolob Date: Tue, 22 Mar 2022 18:14:28 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 56acd1f..2764b92 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Create an API instance and off you go. :rocket: ```go import ( - "github.com/nanmu42/etherscan-api" + "github.com/koolob/etherscan-api" "fmt" )