Browse Source

change module name.

master v0.1.0
ldf 3 years ago
parent
commit
c32a8d0055
  1. 2
      go.mod
  2. 2
      module/attach/attachments.go
  3. 2
      module/story/stories.go
  4. 2
      module/task/task.go
  5. 2
      util/http.go

2
go.mod

@ -1,4 +1,4 @@
module asana
module git.drinkme.beer/yinghe/asana
go 1.15 go 1.15

2
module/attach/attachments.go

@ -14,7 +14,7 @@ import (
"git.drinkme.beer/yinghe/log" "git.drinkme.beer/yinghe/log"
"asana/util"
"git.drinkme.beer/yinghe/asana/util"
) )
const ( const (

2
module/story/stories.go

@ -8,7 +8,7 @@ import (
"git.drinkme.beer/yinghe/log" "git.drinkme.beer/yinghe/log"
"asana/util"
"git.drinkme.beer/yinghe/asana/util"
) )
const ( const (

2
module/task/task.go

@ -7,7 +7,7 @@ import (
"git.drinkme.beer/yinghe/log" "git.drinkme.beer/yinghe/log"
"asana/util"
"git.drinkme.beer/yinghe/asana/util"
) )
type Data struct { type Data struct {

2
util/http.go

@ -153,7 +153,7 @@ func Request(req *http.Request) ([]byte, error) {
log.Errorf("illegal request") log.Errorf("illegal request")
return nil, errors.New("illegal request") return nil, errors.New("illegal request")
} }
log.Infof("%v", req)
//log.Infof("%v", req)
resp, err := client.Do(req) resp, err := client.Do(req)
if nil == resp { if nil == resp {
log.Info("none response received") log.Info("none response received")

Loading…
Cancel
Save