Files
openchamber-android-native/main.go
T

21 lines
492 B
Go
Raw Normal View History

// OpenChamber Native is a lightweight OpenChamber client for phones, written
// in Go with MyGo's native UI.
package main
import (
"log"
"github.com/egoist/mygo"
"github.com/openchamber/openchamber-native/internal/appui"
// The TTS plugin: its Kotlin is compiled into the app by mygo build.
_ "github.com/openchamber/openchamber-native/internal/tts"
)
func main() {
app := appui.New(nil)
mygo.App.WhenReady(app.Ready)
if err := mygo.App.Run(); err != nil {
log.Fatal(err)
}
}