From c32a8d00559bba09751fa0ab6ca157205dbd06da Mon Sep 17 00:00:00 2001 From: ldf Date: Wed, 11 Aug 2021 10:07:42 +0800 Subject: [PATCH] change module name. --- go.mod | 2 +- module/attach/attachments.go | 2 +- module/story/stories.go | 2 +- module/task/task.go | 2 +- util/http.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 51a9a7b..9bdbb1d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module asana +module git.drinkme.beer/yinghe/asana go 1.15 diff --git a/module/attach/attachments.go b/module/attach/attachments.go index e3b1426..3746c23 100644 --- a/module/attach/attachments.go +++ b/module/attach/attachments.go @@ -14,7 +14,7 @@ import ( "git.drinkme.beer/yinghe/log" - "asana/util" + "git.drinkme.beer/yinghe/asana/util" ) const ( diff --git a/module/story/stories.go b/module/story/stories.go index 5313fe5..1e9cb81 100644 --- a/module/story/stories.go +++ b/module/story/stories.go @@ -8,7 +8,7 @@ import ( "git.drinkme.beer/yinghe/log" - "asana/util" + "git.drinkme.beer/yinghe/asana/util" ) const ( diff --git a/module/task/task.go b/module/task/task.go index ad72fef..4d98ecd 100644 --- a/module/task/task.go +++ b/module/task/task.go @@ -7,7 +7,7 @@ import ( "git.drinkme.beer/yinghe/log" - "asana/util" + "git.drinkme.beer/yinghe/asana/util" ) type Data struct { diff --git a/util/http.go b/util/http.go index 9f719c8..e500863 100644 --- a/util/http.go +++ b/util/http.go @@ -153,7 +153,7 @@ func Request(req *http.Request) ([]byte, error) { log.Errorf("illegal request") return nil, errors.New("illegal request") } - log.Infof("%v", req) + //log.Infof("%v", req) resp, err := client.Do(req) if nil == resp { log.Info("none response received")