mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
* Add some clarifying comments * Remove special handling of window parameters * Improve internal method exclusion * Add test for internal method exclusion * Remove useless blank field from app options This is a leftover from an older version of the static analyser. It should have been removed long ago. * Remove redundant godebug setting gotypesalias=1 is the default starting with go1.23 * Use new range for syntax to simplify code * Remove generator dependency on github.com/samber/lo * Ensure generator testing tasks do not use the test cache * Rename cyclic types test * Test for cyclic imports * Fix import cycle between model files * Sort class aliases after their aliased class * Test class aliases * Fix length of default value for array types * Test array initialization * Add changelog * Update changelog * Fix contrived marking technique in model sorting algorithm * Update binding example * Update test data --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| data | ||
| GreetService.go | ||
| main.go | ||
| README.md | ||
Bindings Example
This example demonstrates how to generate bindings for your application.
To generate bindings, run wails3 generate bindings -b -d assets/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.CallByIDby default. This is the most secure and quickest way to call a function. In a future release, we will look at generatingwails.CallByNametoo.