5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-05 06:12:02 +08:00
wails/v3/examples/binding
2023-10-15 10:43:39 +11:00
..
assets [v3] Improve examples 2023-06-06 20:41:28 +10:00
bindings_main.js Update bindings example 2023-10-09 17:37:21 +11:00
go.mod Fix example building. Update workflow 2023-10-15 10:43:39 +11:00
go.sum Fix example building. Update workflow 2023-10-15 10:43:39 +11:00
GreetService.go Update bindings example 2023-09-04 21:01:00 +10:00
main.go Update bindings example 2023-10-09 17:37:21 +11:00
models.ts [v3] Move to integer call ids for bound methods. 2023-08-19 14:25:36 +10:00
README.md Update bindings example 2023-10-09 17:37:21 +11:00

Bindings Example

This example demonstrates how to generate bindings for your application.

To generate bindings, run wails3 generate bindings in this directory.

See more options by running wails3 generate bindings --help.

Notes

  • The bindings generator is still a work in progress and is subject to change.
  • The generated code uses wails.CallByID by default. This is the most secure and quickest way to call a function. In a future release, we will look at generating wails.CallByName too.