mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-18 08:29:55 +01:00
Port the safety check enhancement from v2 to v3. The existing safety check in templates.go now respects a new -f/--force flag that allows users to explicitly acknowledge and proceed with initialization in non-empty directories. Fixes #4940 (v3 portion) https://claude.ai/code/session_01EN7wUQygUFthJ8WaRULfot |
||
|---|---|---|
| .. | ||
| 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 -clean -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 robust way to call a function.