From a1a0ed7e77392c3b91732e96ddf1ef8edb27946b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Thu, 10 Aug 2023 14:29:19 +0800 Subject: [PATCH] rename curl => httpclient --- {curl => httpclient}/define.go | 4 ++-- {curl => httpclient}/exception.go | 4 ++-- {curl => httpclient}/request.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename {curl => httpclient}/define.go (98%) rename {curl => httpclient}/exception.go (98%) rename {curl => httpclient}/request.go (99%) 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"