mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 16:39:35 +08:00
![]() * WIP
* Generation of index.js
* Add RelativeToCwd
* Add JSDoc comments
* Convert to ES6 syntax
* Fix typo
* Initial generation of typescript declarations
* Typescript improvements
* Improved @returns jsdoc
* Improved declaration files
* Simplified output
* Rename file
* Tidy up
* Revert "Simplified output"
This reverts commit
|
||
---|---|---|
.. | ||
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())