Apply gofmt

This commit is contained in:
Drew DeVault 2018-06-11 20:04:21 -04:00
commit 6728a11fdf
6 changed files with 17 additions and 17 deletions
lib/ui

View file

@ -7,7 +7,7 @@ import (
)
type Stack struct {
children []Drawable
children []Drawable
onInvalidate []func(d Drawable)
}
@ -15,7 +15,7 @@ func NewStack() *Stack {
return &Stack{}
}
func (stack *Stack) OnInvalidate(onInvalidate func (d Drawable)) {
func (stack *Stack) OnInvalidate(onInvalidate func(d Drawable)) {
stack.onInvalidate = append(stack.onInvalidate, onInvalidate)
}