wrj97
wrj97
通过查看源代码找到问题了 在qt_event.go里面的事件回调里面从QEvent_Timer到QEvent_Paint之间的mouse和key事件都是反射参数*QEvent,改为具体事件类型 QMouseEvent|QKeyEvent就好了,这是一时的疏忽还是go1.6的不兼容?
> 链接的效果好像没有问题 仅在微信真机调试会有
Hi! I use Chinese. The name of the picture on my clipboard is `图片.png` 
After change the language of the browser, restart Firefox and try.
This can be easily implemented. Example of the Gin framework ```golang // 5-S middleware1 := mgin.NewMiddleware(limiter.New(store, rate)) // 100-S middleware2 := mgin.NewMiddleware(limiter.New(store, rate)) router.Use(func(ctx *gin.Context) { if(ctx.Request.URL == "/api/v1") {...
This depends on the specific business. Below is pseudocode provided as a reference: ```golang var cache sync.Map router.Use(func(ctx *gin.Context) { uid := getUserID(ctx) if v,ok := cache.Load(uid); ok { h...
Regarding the performance and scalability of this approach, I haven't personally tested it. However, using Redis as a middleware storage can be a viable option for achieving scalability.
@tsic404 麻烦加下分