5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 00:10:47 +08:00
wails/v2/internal/parse/README.md

445 B

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 be m := &MyStruct{} or m := newMyStruct()
  • Function Binding: app.Bind(newMyStruct())