5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 00:43:14 +08:00
wails/v2/internal/parse
2021-01-14 11:07:06 +11:00
..
parse.go Remove WailsInit and WailsShutdown methodsr 2021-01-14 11:07:06 +11:00
README.md Merge commit 'a213e8bcd1d8e4e5c764978879d875d2d55dd400' as 'v2' 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())