mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 05:50:54 +08:00
.. | ||
parse.go | ||
README.md |
Parse
Parse will attempt to parse your Wails project to perform a number of tasks:
- Verify that you have bound struct pointers
- Generate JS helper files/docs
It currently checks bindings correctly if your code binds using one of the following methods:
- Literal Binding:
app.Bind(&MyStruct{})
- Variable Binding:
app.Bind(m)
- m can bem := &MyStruct{}
orm := newMyStruct()
- Function Binding:
app.Bind(newMyStruct())