commit | 9640137a86e00f764ec3e99e1de008c76a2cdc2c | [log] [tgz] |
---|---|---|
author | Elias Naur <elias.naur@gmail.com> | Tue Sep 27 17:01:10 2016 +0200 |
committer | Elias Naur <elias.naur@gmail.com> | Tue Sep 27 16:37:51 2016 +0000 |
tree | 1bea16c7272ae0b17ad10ca9bd0cf4dee5718ebd | |
parent | 8b28d19931a076562c21c1db79486127a7464e17 [diff] |
bind: add missing unsafe import in generated code The ClassGen.genGo function always uses unsafe, contrary to what the check in GenGo says. With this CL, generated code always imports unsafe if there are any classes to be generated. Change-Id: Ic807111a26e494b4941790830b1950bb8b1f73d5 Reviewed-on: https://go-review.googlesource.com/29873 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.