Compare commits

...

2 Commits
v1.0.0 ... v1

Author SHA1 Message Date
renzhiyuan 05d0232929 first push 2025-02-19 15:35:04 +08:00
renzhiyuan 002fa590ef first push 2025-02-19 15:31:04 +08:00
2 changed files with 2 additions and 1 deletions

2
go.mod
View File

@ -1,3 +1,3 @@
module gitea.cdlsxd.cn/self-tools/l-request
go 1.23.6
go 1.21

View File

@ -24,6 +24,7 @@ func (re *RequestPool) Put(r *Request) {
re.pool.Put(r)
}
// 重置对象
func (re *RequestPool) Reset(r *Request) {
r.Method = ""
r.Url = ""