GoJava – Java bindings to Go packages
gojava build [-o <jar>] [<pkg1>, [<pkg2>...]] This generates a jar containing Java bindings to the specified Go packages. -o string Path to the generated jar file (default "libgojava.jar")
You can include the generated jar in your build using the build tool of your choice. The jar contains a native library (built for the build platform) which is loaded automatically. Cross platform builds are not currently supported.
NOTE: This has only been tested on an OSX developer machine and not in production.
转载本站任何文章请注明：转载至神刀安全网，谢谢神刀安全网 » GoJava – Server/desktop Java bindings to Go packages (based on gobind)