| mangoro_go_build | R Documentation |
Compile a Go source file using the vendored dependencies
mangoro_go_build(src, out, gomaxprocs = 1, gocache = NULL, ...)
src |
Path to the Go source file |
out |
Path to the output binary |
gomaxprocs |
Number of threads for Go build (sets GOMAXPROCS env variable) |
gocache |
Path to Go build cache directory. If NULL (default), uses a temporary directory to comply with CRAN policy. Set to NA to use the default Go cache location. |
... |
Additional arguments to pass to Go build |
Path to the compiled binary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.