chore: clean up linter errors in examples

This commit is contained in:
Christian Muehlhaeuser
2022-10-08 00:34:41 +02:00
parent 8b8fd12201
commit 22d15efad7
16 changed files with 26 additions and 40 deletions

View File

@@ -45,12 +45,11 @@ func (d itemDelegate) Render(w io.Writer, m list.Model, index int, listItem list
}
}
fmt.Fprintf(w, fn(str))
fmt.Fprint(w, fn(str))
}
type model struct {
list list.Model
items []item
choice string
quitting bool
}