ui/app: add package documentation and document Main

Split Main into the common Main function and platform specific
main functions.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-09 21:34:29 +02:00
parent 87f8fd4152
commit e5738481f8
8 changed files with 22 additions and 6 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ func createWindow(win *Window, opts *WindowOptions) error {
return <-mainWindow.errs
}
func Main() {
func main() {
wopts := <-mainWindow.out
view := viewFactory()
if view == 0 {