removed greet function that came with wails
This commit is contained in:
		
							
								
								
									
										6
									
								
								app.go
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								app.go
									
									
									
									
									
								
							@@ -2,7 +2,6 @@ package main
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"context"
 | 
						"context"
 | 
				
			||||||
	"fmt"
 | 
					 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// App struct
 | 
					// App struct
 | 
				
			||||||
@@ -20,8 +19,3 @@ func NewApp() *App {
 | 
				
			|||||||
func (a *App) startup(ctx context.Context) {
 | 
					func (a *App) startup(ctx context.Context) {
 | 
				
			||||||
	a.ctx = ctx
 | 
						a.ctx = ctx
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
// Greet returns a greeting for the given name
 | 
					 | 
				
			||||||
func (a *App) Greet(name string) string {
 | 
					 | 
				
			||||||
	return fmt.Sprintf("Hello %s, It's show time!", name)
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user