Files
gio/apps/go.mod
T
Elias Naur c080a54038 ui/app: call main from Android and iOS
Android can only run c-shared libraries which means that every
Gio program must create its window and event loop from an init
function.

The same applies to iOS but for a more benign reason: the gio tool
builds programs in c-archive mode for iOS and links the binary with
a Objective-C driver.

Allow Gio programs to run off its main function by linking to and
invoking main even from Android libraries and iOS ditto.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-07-22 11:33:09 +02:00

14 lines
329 B
Modula-2

module gioui.org/apps
go 1.12
require (
gioui.org/ui v0.0.0-20190721200230-1ee8c08f3bf9
github.com/google/go-github/v24 v24.0.1
golang.org/x/exp v0.0.0-20190627132806-fd42eb6b336f
golang.org/x/image v0.0.0-20190703141733-d6a02ce849c9
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
)
replace gioui.org/ui => ../ui