Partial go fmt. Will do the rest over the next few commits. While I'm not too happy about it, everyone else uses go fmt, and pull requests will be more convenient if I just do it. (Also do it now, because when I change the Windows backend things are going to change...)
This commit is contained in:
parent
7b2e6b7fa3
commit
43b3f1c2a8
|
@ -54,6 +54,6 @@ func initCocoa() (err error) {
|
||||||
|
|
||||||
//export appDelegate_uitask
|
//export appDelegate_uitask
|
||||||
func appDelegate_uitask(p unsafe.Pointer) {
|
func appDelegate_uitask(p unsafe.Pointer) {
|
||||||
f := (*func ())(unsafe.Pointer(p))
|
f := (*func())(unsafe.Pointer(p))
|
||||||
(*f)()
|
(*f)()
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,9 @@ package ui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"runtime"
|
||||||
"syscall"
|
"syscall"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
"runtime"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue