Chromium Code Reviews| Index: examples/go/echo_server.go |
| diff --git a/examples/go/echo_server.go b/examples/go/echo_server.go |
| index b65836d91ee9bbad9c6951d65d6ced6d3c5c1512..b19ac312f619d9c5fde0c0142a15881c1f68446d 100644 |
| --- a/examples/go/echo_server.go |
| +++ b/examples/go/echo_server.go |
| @@ -7,8 +7,6 @@ package main |
| import ( |
| "log" |
| - "golang.org/x/mobile/app" |
| - |
| "mojo/public/go/application" |
| "mojo/public/go/bindings" |
| "mojo/public/go/system" |
| @@ -65,5 +63,4 @@ func MojoMain(handle C.MojoHandle) C.MojoResult { |
| } |
| func main() { |
|
jamesr
2015/08/05 23:53:41
when is func main() invoked when built as a shared
gauthamt
2015/08/06 00:08:04
It is not invoked when run as a shared library.
gautham
2015/08/06 00:10:17
Done.
|
| - app.Run(app.Callbacks{}) |
| } |