Registry / other / v8go
library0.9.0gogounverified

Package v8go provides an API to execute JavaScript from Go using the V8 engine.

go get rogchap.com/v8go
INSTALL
IMPORT
SIG · V8GO
V
v8go
othergov0.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

v8go
✓ rogchap.com/v8go

Execute JavaScript and get result

package main import ( "fmt" v8 "rogchap.com/v8go" ) func main() { ctx, _ := v8.NewContext() val, _ := ctx.RunScript("1 + 2", "calc.js") fmt.Println(val.String()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
11
Resources
v8go — go get v8go · libregistry