gin自动参数绑定,类beego注解路由

  • 4 参数说明
    ginrpc.WithCtx : 设置自定义context
    ginrpc.WithDebug(true) : 设置debug模式
    ginrpc.WithGroup(“xxjwxc”) : 添加路由前缀 (也可以使用gin.Group 分组)
    ginrpc.WithBigCamel(true) : 设置大驼峰标准(false 为web模式,_,小写)

                <a href="https://godoc.org/github.com/xxjwxc/ginrpc" rel="nofollow,noindex" target="_blank">更多</a>
    
        </li>