NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules · #2447 by repository stars
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 7 months
Some releases are documented
notes for 10 of 40 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
50 releases · first in 2020
One column per quarter.
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// IRouteBuilder app.UseEn
Used Swagger UI
// IRouteBuilder app.UseEndpoints(...)
endpoints.UseSwaggerDoc(rb,
swagger.Info{
Title: "YoyoGO 框架文档演示",
Version: "v1.0.0",
Description: "框架文档演示swagger文档 v1.0 [ #yoyogo](https://github.com/yoyofx/yoyogo).",
TermsOfService: "https://dev.yoyogo.run",
Contact: swagger.Contact{
Email: "zl.hxd@hotmail.com",
Name: "yoyogo",
},
License: swagger.License{
Name: "MIT",
Url: "https://opensource.org/licenses/MIT",
},
},
func(openapi *swagger.OpenApi) {
openapi.AddSecurityBearerAuth()
})
// mvc controller
```golang
// DocumentResponse custom document response
type DocumentResponse struct {
Message string `json:"message" doc:"消息"`
List []DocumentDto `json:"list" doc:"文档列表"`
Success bool `json:"success" doc:"是否成功"`
}
func (controller UserController) GetDocumentList(request *struct {
mvc.RequestGET `route:"/v1/user/doc/list" doc:"获取全部文档列表"`
}) DocumentResponse {
return DocumentResponse{Message: "GetDocumentList", List: []DocumentDto{
{Id: 1, Name: "test1", Time: time.Now()}, {Id: 2, Name: "test2", Time: time.Now()},
{Id: 3, Name: "test3", Time: time.Now()}, {Id: 4, Name: "test4", Time: time.Now()},
{Id: 5, Name: "test5", Time: time.Now()}, {Id: 6, Name: "test6", Time: time.Now()},
}, Success: true}
}Nothing published for this version
fixed bug for httpclient add header.
Nothing published for this version
update golang.org/x/image to 0.5.0
Repair vulnerability of CVE-* CVE-2022-27664
Nothing published for this version
Repair vulnerabilitys: CVE-2022-28948 CVE-2021-38561 CVE-2022-29526 CVE-2021-31525 CVE-2021-44716 CVE-2021-33194 CVE-2020-29652 CVE-2019-19794
Fixed Unhandled exception in gopkg.in/yaml.v3
Fixed Unhandled exception in gopkg.in/yaml.v3
Get config value for DSL, that support key or ref object.
env: ${CUSTOM_ENV}
profile:
dns: ${REMOTE_HOST}
ip: ${REMOTE_IP:10.0.1.12}
namespace: ${MYNAMESPACE:space.localhost}type Profile struct {
DNS string `config:"dns"`
IP string `config:"ip"`
NS string `config:"namespace"`
}
config := abstractions.NewConfigurationBuilder().
AddEnvironment().
AddYamlFile("config").Build()
config.GetConfigObject("profile", &profile)
assert.Equal(t, profile.NS, "space.yoyogo.run")
assert.Equal(t, profile.DNS, "my host")
assert.Equal(t, profile.IP, "10.0.1.12")or
env := config.Get("env")
dns := config.Get("profile.dns")
ip := config.Get("profile.ip")
assert.Equal(t, env, "my env variable")
assert.Equal(t, dns, "my host")
assert.Equal(t, ip, "10.0.1.12")Nothing published for this version
1. action parameters mapping functions 2. action parameters mapping functions v2 3. mixed bindings. 4. 添加本地配置对象 5. 优化dockerfile
1.action parameters mapping functions
2.action parameters mapping functions v2
3.mixed bindings.
4.添加本地配置对象
5.优化dockerfile
print all stack traces for console
web: fixed request body max bytes that when upload file, set config max_request_size for fasthttp MaxRequestBodySize.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →