Files
wails/internal/parse
Travis McLane a213e8bcd1 Squashed 'v2/' content from commit 72ef153
git-subtree-dir: v2
git-subtree-split: 72ef15359e36e42b18d9407f74c762f83eb9a099
2020-09-15 19:52:54 -05:00
..

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())