From 83dbdb7ecb6e6280cff8e7006344409f182e1246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sun, 1 May 2022 20:02:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 22 ++++++++++++++++++++++ curl/define.go | 14 ++++++++++++++ go.mod | 5 +++++ go.sum | 2 ++ 4 files changed, 43 insertions(+) create mode 100644 .gitignore create mode 100644 curl/define.go create mode 100644 go.mod create mode 100644 go.sum diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..df8e306 --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# Created by .ignore support plugin (hsz.mobi) +### Go template +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib +*.xlsx + +# Test binary, built with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Dependency directories (remove the comment below to include it) +# vendor/ +.idea +.vscode +mail_test.go + diff --git a/curl/define.go b/curl/define.go new file mode 100644 index 0000000..cc90e8a --- /dev/null +++ b/curl/define.go @@ -0,0 +1,14 @@ +// Package curl 基础请求库 +// +// Author: go_developer@163.com<白茶清欢> +// +// Description: 基础常量定义 +// +// File: define.go +// +// Version: 1.0.0 +// +// Date: 2022/05/01 19:56:48 +package curl + +const () diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..7348c69 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module git.zhangdeman.cn/zhangdeman/httpclient + +go 1.17 + +require github.com/ddliu/go-httpclient v0.6.9 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..cdd2d15 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/ddliu/go-httpclient v0.6.9 h1:/3hsBVpcgCJwqm1dkVlnAJ9NWuYInbRc+i9FyUXX/LE= +github.com/ddliu/go-httpclient v0.6.9/go.mod h1:zM9P0OxV4OGGz1pt/ibuj0ooX2SWH9a6MvXZLbT0JMc=