More go fmt.
This commit is contained in:
parent
86cf5489d3
commit
ad8a90ec7e
|
@ -2,10 +2,6 @@
|
||||||
|
|
||||||
package ui
|
package ui
|
||||||
|
|
||||||
import (
|
|
||||||
// ...
|
|
||||||
)
|
|
||||||
|
|
||||||
// sentinel (not nil so programmer errors don't go undetected)
|
// sentinel (not nil so programmer errors don't go undetected)
|
||||||
// this window is invalid and cannot be used directly
|
// this window is invalid and cannot be used directly
|
||||||
var dialogWindow = new(Window)
|
var dialogWindow = new(Window)
|
||||||
|
|
|
@ -61,7 +61,7 @@ func (w *Window) msgBox(primarytext string, secondarytext string) (done chan str
|
||||||
func (w *Window) msgBoxError(primarytext string, secondarytext string) (done chan struct{}) {
|
func (w *Window) msgBoxError(primarytext string, secondarytext string) (done chan struct{}) {
|
||||||
done = make(chan struct{})
|
done = make(chan struct{})
|
||||||
go func() {
|
go func() {
|
||||||
<-_msgBox(w, primarytext, secondarytext, _MB_OK | _MB_ICONERROR)
|
<-_msgBox(w, primarytext, secondarytext, _MB_OK|_MB_ICONERROR)
|
||||||
done <- struct{}{}
|
done <- struct{}{}
|
||||||
}()
|
}()
|
||||||
return done
|
return done
|
||||||
|
|
Loading…
Reference in New Issue