Xiao Ge
Xiao Ge
Try unmarshal nil RawMessage to a slice, v1.1.10 is ok, but v1.1.11 will return error. POC: ```Go package main import ( "fmt" "github.com/json-iterator/go" ) type commonResponse struct { Code int...
POC: ```go func main() { type MyConfig struct { Slice []struct { A int } `json:"slice" toml:"slice"` } var cfg MyConfig loader := aconfig.LoaderFor(&cfg, aconfig.Config{ // feel free to skip...
Demo: https://github.com/Bynil/YYImageIssueDemo I use YYAnimatedImageView + YYWebImage to show WebP pictures, then the CPU utilization is up to 150+% on my iPhone 7. It's normal (50+% usage) when load images...
下一个更新计划
1. 详细配置里回车键直接搜索 2. 将搜索结果里 highlight 内容展示出来,不需要原始内容 3. 对搜索词 urlencode 避免转义 #21 ~~4. 加载更多会滑动到最底部~~
In ARChromeActivity.m ``` - (BOOL)canPerformWithActivityItems:(NSArray *)activityItems { if (_callbackURL && ![[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"googlechrome-x-callback://"]]) { return NO; } for (id item in activityItems){ if ([item isKindOfClass:NSURL.class]){ NSURL *url = (NSURL...
## GORM Playground Link https://github.com/go-gorm/playground/pull/662 ## Description After adding `BeforeSave` hook, updating model with TableName and struct will get error. It seems too incredible😂
Implement ErrCh() in stream client. Send errors of connect to the top user. https://github.com/umbracle/ethgo/issues/226
The error that occurred in stream reading is ignored now. https://github.com/umbracle/ethgo/blob/f671bdb5f607813d015068c18bf61bb54633ab9d/jsonrpc/transport/websocket.go#L91-L98 When we subscribe an event and get no messages, we can not know if the underlying websocket connection is...
## Explain your user case and expected results After add `BeforeSave` hook, updating model with TableName and struct will get error.