song
song
目前的http的路由前缀树是基于httprouter最早的版本修改而来的,gin 同样是在httprouter的基础上不断迭代, https://github.com/gin-gonic/gin/commits/master/tree.go 从而可以看到,我原本打算基于gin版本pr一版上来,但发现 [fasthttp router](https://github.com/fasthttp/router) 性能同样优异,同时这里有个关于router 的benchmark,https://github.com/smallnest/go-web-framework-benchmark, 不知目前kitex 框架的对应场景是否有必要更新,以及如果要更新的话,更加适合基于那个版本的更新.
**Is your feature request related to a problem? Please describe.** 目前Monitor 接口没有具体实现,无法获得程序运行时的监控指标 **Describe the solution you'd like** ``` type Monitor interface { OnEmitSessionMetrics(PerformanceMetrics, StabilityMetrics, ShareMemoryMetrics, *Session) Flush() error } ```...
您好,我才用go mod download 对这个包进行下载的时候 显示为 go.mod unexpect module path"github.com/unknown/com",请问是release 的时候没有标记具体的版本号的原因吗,使用了 github.com/unknown/com latest 依旧有错误,如果release 的时候指定了版本 github.com/unknown/com V1.0.0 是不是不会出错了
**Is your feature request related to a problem? Please describe.** 根据他们测试的结果 https://github.com/bytedance/gopkg/tree/develop/lang/fastrand, fastrand 比math/rand 的使用要快不少,go-zero 中有不少场景使用了math/rand **Describe the solution you'd like** 如果适合 go-zero 这边的话,我来提交一个pr **Describe alternatives you've considered** https://github.com/valyala/fastrand 这个也许也是合适的...
mod 开启了 是1.12 版本 build kratos-demoha/cmd: cannot load kratos-demoha/api: cannot find module providing package kratos-demoha/api
长微博不能获取全文
Traceback (most recent call last): Error: 'NoneType' object has no attribute 'xpath' File "/Users/song/Downloads/weiboSpider-master/weiboSpider.py", line 89, in get_long_weibo 长文博不能获取全文 已经显示的文字的结尾 所爬的结果 ...全文 是需要设置延时吗
**Is your feature request related to a problem? Please describe.** zap has good performance in processing log. now,kitex is using klog which is golang native log. **Describe the solution you'd...
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Not a problem **Describe...
**Is your feature request related to a problem? Please describe.** According to the result of fastrand https://github.com/bytedance/gopkg/tree/develop/lang/fastrand fastrand is faster than math/rand,they use go:linkname to call runtime.fastrand. Maybe is suitable...
**Is your feature request related to a problem? Please describe.** Not a problem,just some optimization. **Describe the solution you'd like** when we transform []byte to string or string to []byte,...