(serviceName string, method reflect.Method, meta tsgenmeta.MethodMeta)
| 412 | } |
| 413 | |
| 414 | func GenerateMethodBody(serviceName string, method reflect.Method, meta tsgenmeta.MethodMeta) string { |
| 415 | return fmt.Sprintf(" return callBackendService(this?.waveEnv, %q, %q, Array.from(arguments))\n", serviceName, method.Name) |
| 416 | } |
| 417 | |
| 418 | func GenerateServiceClass(serviceName string, serviceObj any, tsTypesMap map[reflect.Type]string) string { |
| 419 | serviceType := reflect.TypeOf(serviceObj) |
no outgoing calls
no test coverage detected