Apply gofmt
This commit is contained in:
parent
d67c8a60ef
commit
6728a11fdf
6 changed files with 17 additions and 17 deletions
lib/ui
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue