diff --git a/counter/main.go b/counter/main.go index 0cae9ae..12838a4 100644 --- a/counter/main.go +++ b/counter/main.go @@ -14,7 +14,7 @@ func main() { count := binding.NewInt() button := widget.NewButton("Count", func() { i, _ := count.Get() - _ = count.Set(i+1) + _ = count.Set(i + 1) }) w.SetContent(container.NewGridWithColumns(2, diff --git a/temperature-converter/main.go b/temperature-converter/main.go index 4804edb..e0b2f81 100644 --- a/temperature-converter/main.go +++ b/temperature-converter/main.go @@ -44,4 +44,4 @@ func (c *cToF) Set(f float64) error { func celsiusToFarenheit(in binding.Float) binding.Float { return &cToF{in} -} \ No newline at end of file +}