闾明
闾明
好像不算特别麻烦, 下面的代码可以对函数的调用进行通用mock, 我再想想Api的设计, 看看可不可以基于gomonkey有一个方便的对函数和接口的被调用的包 type Func struct { call bool params []interface{} } func MockFunc[F any](ps *gomonkey.Patches, f F) *Func { ret := &Func{} typ := reflect.TypeOf(f) if typ.Kind() !=...
好像这个泛型没啥用..不如直接用interface > 好像不算特别麻烦, 下面的代码可以对函数的调用进行通用mock, 我再想想Api的设计, 看看可不可以基于gomonkey有一个方便的对函数和接口的被调用的包 > > type Func struct { call bool params []interface{} } > > func MockFunc[F any](ps *gomonkey.Patches, f F) *Func { ret := &Func{}...
my choice is to use ci tools to shink source code for one service. i write a service_assemble.js file to do this , and when i push code, ci tool...
now this repo dont support this, but the underwood lib uiohook support prevent event propagation by set event.reserved = 1 this need to refactor the wrap of uiohook, now code...
@joshuali925 if this is not merged , is there any way to install an vsix in web version of vscode like vscode.dev??
@joshuali925 why your branch will not complete some checks, build in ubuntu-latest  maybe this is why the pr not be merged, could you fix this and push a new...
it is slow because of os/user package's GetCurrent() function, maybe is go's bug , i dont know, problem is in file os_windows.go(59) you can do like this, print your user...
i also need this feature for copy selection, have you find any solution now?
I found the same problem, Github use the tag \ which is the top-layer element , to fix this we must not use div as surfingkeys_hints_host"s root , but to...