mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Update bindings tests
This commit is contained in:
Vendored
+2
-1
@@ -2,6 +2,7 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
import {Call} from '@wailsio/runtime';
|
||||
|
||||
/**
|
||||
* Greet someone
|
||||
@@ -10,5 +11,5 @@
|
||||
* @returns {Promise<string>}
|
||||
**/
|
||||
export async function Greet(name) {
|
||||
return wails.CallByID(1411160069, ...Array.prototype.slice.call(arguments, 0));
|
||||
return Call.ByID(1411160069, ...Array.prototype.slice.call(arguments, 0));
|
||||
}
|
||||
|
||||
+2
-1
@@ -2,6 +2,7 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
import {Call} from '@wailsio/runtime';
|
||||
|
||||
/**
|
||||
* Greet someone
|
||||
@@ -10,5 +11,5 @@
|
||||
* @returns {Promise<string>}
|
||||
**/
|
||||
export async function Greet(name) {
|
||||
return wails.CallByName("main.GreetService.Greet", ...Array.prototype.slice.call(arguments, 0));
|
||||
return Call.ByName("main.GreetService.Greet", ...Array.prototype.slice.call(arguments, 0));
|
||||
}
|
||||
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
import {Call} from '@wailsio/runtime';
|
||||
// Greet someone
|
||||
export async function Greet(name: string) : Promise<string> {
|
||||
return wails.CallByName("main.GreetService.Greet", name);
|
||||
return Call.ByName("main.GreetService.Greet", name);
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-1
@@ -1,8 +1,9 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
import {Call} from '@wailsio/runtime';
|
||||
// Greet someone
|
||||
export async function Greet(name: string) : Promise<string> {
|
||||
return wails.CallByID(1411160069, name);
|
||||
return Call.ByID(1411160069, name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user