(ctx context.Context)
| 370 | } |
| 371 | |
| 372 | func getRenderContext(ctx context.Context) *VDomContextVal { |
| 373 | v := ctx.Value(vdomContextKey) |
| 374 | if v == nil { |
| 375 | return nil |
| 376 | } |
| 377 | return v.(*VDomContextVal) |
| 378 | } |
| 379 | |
| 380 | func callCFunc(cfunc any, ctx context.Context, props map[string]any) any { |
| 381 | rval := reflect.ValueOf(cfunc) |
no test coverage detected