2
0
mirror of synced 2025-02-23 14:58:12 +00:00
mobile/app/app.go
David Crawshaw 3d312b5a2b go.mobile: break dependency on gobind
Preparation for NativeActivity-based apps.

LGTM=nigeltao
R=golang-codereviews, nigeltao
CC=golang-codereviews
https://golang.org/cl/126520043
2014-09-03 09:03:00 -04:00

25 lines
532 B
Go

// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package app
// Run starts the process.
func Run() {
run()
}
// Draw is called by the render loop to draw the screen.
//
// Drawing is done into a framebuffer, which is then swapped onto the
// screen when Draw returns. It is called 60 times a second.
var Draw func()
/*
TODO(crawshaw): Implement.
var Start func()
var Stop func()
var Resume func()
var Pause func()
*/