PackageTrack
Sign in Get early access

github.com/yoyofx/yoyogo

v1.8.7 #2238 most downloaded on Go modules yoyofx/yoyogo

What this package is like to depend on

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

48 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

48 releases · Jun 2020 to Feb 2024
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 48
  1. v1.8.7 07 Feb 2024
    Release notes
    • Integrated swagger support

    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: "[email protected]",
    				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}
    }
    Open source →
  2. v1.8.7-0.20240207091319-6924b3352545 07 Feb 2024 pre-release

    Nothing published for this version

  3. v1.8.6 14 Dec 2023
    Release notes
    1. fixed bug for httpclient add header.
    2. update grpc / viper and others dependencies version .
    Open source →
  4. v1.8.6-0.20231214061954-b06cc2953fcf 14 Dec 2023 pre-release

    Nothing published for this version

  5. v1.8.5 06 May 2023
    Release notes
    • update golang.org/x/image to 0.5.0
    • update prometheus/client_golang to v1.15.1
    Open source →
  6. v1.8.4 23 Sep 2022
    Release notes

    Repair vulnerability of CVE-***

    Open source →
  7. v1.8.4-0.20220923093130-f30952a460f0 23 Sep 2022 pre-release

    Nothing published for this version

  8. v1.8.3 02 Aug 2022
    Release notes Open source →
  9. v1.8.2 31 May 2022
    Release notes

    Fixed Unhandled exception in gopkg.in/yaml.v3

    Open source →
  10. v1.8.1 25 Apr 2022
    Release notes

    Features

    1. Get config value for DSL, that support key or ref object.

    Such as YAML:

    env: ${CUSTOM_ENV}
    profile:
      dns: ${REMOTE_HOST}
      ip: ${REMOTE_IP:10.0.1.12}
      namespace: ${MYNAMESPACE:space.localhost}

    Go Example

    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")
    Open source →
  11. v1.8.1-0.20220422032213-47bf2394f8d8 22 Apr 2022 pre-release

    Nothing published for this version

  12. v1.8.0 20 Apr 2022
    Release notes Open source →
  13. v1.7.11 10 Nov 2021
    Release notes

    Fixed bugs:

    • print all stack traces for console
    Open source →
  14. v1.7.10 10 Oct 2021
    Release notes

    Fixed bugs:

    • web: fixed request body max bytes that when upload file, set config max_request_size for fasthttp MaxRequestBodySize.
    Open source →
  15. v1.7.9 18 Sep 2021

    Nothing published for this version

  16. v1.7.8 27 Aug 2021

    Nothing published for this version

  17. v1.7.8-0.20210803090413-e3586ad5ed8c 03 Aug 2021 pre-release

    Nothing published for this version

  18. v1.7.7 02 Aug 2021

    Nothing published for this version

  19. v1.7.6 20 Jul 2021

    Nothing published for this version

  20. v1.7.5 14 Jul 2021

    Nothing published for this version

  21. v1.7.4 08 Jul 2021

    Nothing published for this version

  22. v1.7.3 06 Jul 2021

    Nothing published for this version

  23. v1.7.2 08 Jun 2021

    Nothing published for this version

  24. v1.7.1 26 May 2021

    Nothing published for this version

  25. v1.7.1-0.20210513084527-f181f59680de 13 May 2021 pre-release

    Nothing published for this version

  26. v1.7.0 12 May 2021

    Nothing published for this version

  27. v1.6.9 10 May 2021

    Nothing published for this version

  28. v1.6.8 24 Apr 2021

    Nothing published for this version

  29. v1.6.8-0.20210421093634-0d33e01a7196 21 Apr 2021 pre-release

    Nothing published for this version

  30. v1.6.7 13 Apr 2021

    Nothing published for this version

  31. v1.6.6 06 Apr 2021

    Nothing published for this version

  32. v1.6.5 02 Feb 2021

    Nothing published for this version

  33. v1.6.4 21 Jan 2021

    Nothing published for this version

  34. v1.6.3 15 Jan 2021

    Nothing published for this version

  35. v1.6.2 12 Jan 2021

    Nothing published for this version

  36. v1.6.1 17 Dec 2020

    Nothing published for this version

  37. v1.6.0 09 Dec 2020

    Nothing published for this version

  38. v1.5.9 08 Dec 2020

    Nothing published for this version

  39. v1.5.8 26 Nov 2020

    Nothing published for this version

  40. v1.5.7 25 Nov 2020

    Nothing published for this version

  41. v1.5.6 12 Nov 2020

    Nothing published for this version

  42. v1.5.5 09 Oct 2020

    Nothing published for this version

  43. v1.5.4 02 Sep 2020

    Nothing published for this version

  44. v1.5.3 27 Aug 2020

    Nothing published for this version

  45. v1.5.2 21 Aug 2020

    Nothing published for this version

  46. v1.5.1 12 Aug 2020

    Nothing published for this version

  47. v1.5.0 31 Jul 2020

    Nothing published for this version

  48. v1.4.10-0.20200624075804-d40622cecad1 24 Jun 2020 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive