From f33a7382ad867a7b16d8cbc9c8d2010b34d87599 Mon Sep 17 00:00:00 2001 From: lyx0 <66651385+lyx0@users.noreply.github.com> Date: Sun, 7 Aug 2022 17:24:42 +0200 Subject: [PATCH] add currency command --- pkg/decapi/tweet.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkg/decapi/tweet.go b/pkg/decapi/tweet.go index fd67bd5..94904cf 100644 --- a/pkg/decapi/tweet.go +++ b/pkg/decapi/tweet.go @@ -8,12 +8,9 @@ import ( "go.uber.org/zap" ) -var ( - basePath = "https://decapi.me/twitter/latest/" - twitterUserNotFoundError = "[Error] - [34] Sorry, that page does not exist." -) - func Tweet(username string) (string, error) { + var basePath = "https://decapi.me/twitter/latest/" + sugar := zap.NewExample().Sugar() defer sugar.Sync()