commit 83dbdb7ecb6e6280cff8e7006344409f182e1246 Author: 白茶清欢 Date: Sun May 1 20:02:15 2022 +0800 初始化仓库 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=