2
0
mirror of synced 2025-02-23 23:08:14 +00:00
Hyang-Ah Hana Kim e3048a987d example/libhello: update main.go to initiate java.Init.
changes required after golang.org/cl/5555

Change-Id: If355dcfa0edfdc204eac4e89837927ab9a978b65
Reviewed-on: https://go-review.googlesource.com/5651
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-02-23 21:57:36 +00:00

21 lines
466 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.
// This is the Go entry point for the libhello app.
// It is invoked from Java.
//
// See README for details.
package main
import (
"golang.org/x/mobile/app"
"golang.org/x/mobile/bind/java"
_ "golang.org/x/mobile/example/libhello/hi/go_hi"
)
func main() {
app.Run(app.Callbacks{Start: java.Init})
}