Remove WailsInit and WailsShutdown methodsr

This commit is contained in:
Lea Anthony
2021-01-14 11:07:06 +11:00
parent 0a0063de1f
commit 742e4ba2cb
22 changed files with 105 additions and 282 deletions

View File

@@ -44,11 +44,6 @@ func (p *Parser) parseStructMethods(boundStruct *Struct) error {
continue
}
// We want to ignore Internal functions
if funcDecl.Name.Name == "WailsInit" || funcDecl.Name.Name == "WailsShutdown" {
continue
}
// If this method is not Public, ignore
if string(funcDecl.Name.Name[0]) != strings.ToUpper((string(funcDecl.Name.Name[0]))) {
continue