diff --git a/curl/define.go b/httpclient/define.go similarity index 98% rename from curl/define.go rename to httpclient/define.go index e87b130..42a5d87 100644 --- a/curl/define.go +++ b/httpclient/define.go @@ -1,4 +1,4 @@ -// Package curl 基础请求库 +// Package httpclient 基础请求库 // // Author: go_developer@163.com<白茶清欢> // @@ -9,7 +9,7 @@ // Version: 1.0.0 // // Date: 2022/05/01 19:56:48 -package curl +package httpclient import ( "github.com/ddliu/go-httpclient" diff --git a/curl/exception.go b/httpclient/exception.go similarity index 98% rename from curl/exception.go rename to httpclient/exception.go index b71d4b6..806cde7 100644 --- a/curl/exception.go +++ b/httpclient/exception.go @@ -1,4 +1,4 @@ -// Package curl ... +// Package httpclient ... // // Author: go_developer@163.com<白茶清欢> // @@ -9,7 +9,7 @@ // Version: 1.0.0 // // Date: 2022/05/01 20:40:08 -package curl +package httpclient import "strings" diff --git a/curl/request.go b/httpclient/request.go similarity index 99% rename from curl/request.go rename to httpclient/request.go index c3dac62..ac2a78f 100644 --- a/curl/request.go +++ b/httpclient/request.go @@ -1,4 +1,4 @@ -// Package curl ... +// Package httpclient ... // // Author: go_developer@163.com<白茶清欢> // @@ -9,7 +9,7 @@ // Version: 1.0.0 // // Date: 2022/05/01 21:25:03 -package curl +package httpclient import ( "bytes"