Sora233 / DDBOT

一个基于MiraiGO的QQ群推送框架, 内置支持b站直播/动态,斗鱼直播,YTB直播/预约直播,虎牙直播,ACFUN直播,微博动态, 也可以通过插件支持任何订阅源。
https://ddbot.sora233.me
GNU Affero General Public License v3.0
510 stars 70 forks source link

Bump github.com/guonaihong/gout from 0.3.1 to 0.3.4 #205

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps github.com/guonaihong/gout from 0.3.1 to 0.3.4.

Release notes

Sourced from github.com/guonaihong/gout's releases.

v0.3.4

url 支持模板语法。

package main

import ( "github.com/guonaihong/gout" )

type testURLTemplateCase struct { Host string }

func main() {

url := "https://{{.Host}}"
// 发送GET方法
gout.GET(url, testURLTemplateCase{Host:"www.qq.com"}).Do()

// 发送POST方法
gout.POST(url, testURLTemplateCase{Host:"www.github.com"}).Do()

// 发送PUT方法
gout.PUT(url, testURLTemplateCase{Host:"www.baidu.com"}).Do()

// 发送DELETE方法
gout.DELETE(url, testURLTemplateCase{Host:"www.google.com"}).Do()

// 发送PATH方法
gout.PATCH(url, testURLTemplateCase{Host:"www.google.com"}).Do()

// 发送HEAD方法
gout.HEAD(url, testURLTemplateCase{Host:"www.google.com"}).Do()

// 发送OPTIONS
gout.OPTIONS(url, testURLTemplateCase{Host:"www.google.com"}).Do()

}

v0.3.3版本

新加SetJSONNotEscape接口,不转义json中的HTML字符

v0.3.2版本

#343 新加解码压缩数据包的接口

AutoDecodeBody()

只要Content-Encoding是deflate, br。都可以还原成压缩之前的格式。

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #206.