Lint fix & tidy up

This commit is contained in:
Lea Anthony
2020-12-06 21:15:23 +11:00
parent 11bf564b73
commit 6fa2ebdd4f
39 changed files with 67 additions and 55 deletions

View File

@@ -5,7 +5,7 @@ import (
"testproject/mypackage"
wails "github.com/wailsapp/wails/v2"
"github.com/wailsapp/wails/v2"
)
// Basic application struct
@@ -56,11 +56,11 @@ func (b *Basic) Greet(name string) string {
}
// MultipleGreets returns greetings for the given name
func (b *Basic) MultipleGreets(name string) []string {
func (b *Basic) MultipleGreets(_ string) []string {
return []string{"hi", "hello", "croeso!"}
}
// RemovePerson Removes the given person
func (b *Basic) RemovePerson(p *mypackage.Person) {
func (b *Basic) RemovePerson(_ *mypackage.Person) {
// dummy
}