-
Notifications
You must be signed in to change notification settings - Fork 570
Bindings
Patricio Whittingslow edited this page Nov 22, 2021
·
65 revisions
- AngularJS: github.com/wvell/go-angularjs
- Chrome API: github.com/fabioberger/chrome
- Cordova: github.com/jaracil/goco
- D3: github.com/iansmith/d3
- DOM: honnef.co/go/js/dom
- Canvas: github.com/oskca/gopherjs-canvas
- VueJS:
- Electron: github.com/oskca/gopherjs-electron
- EventSource (Server-Sent Events): github.com/gopherjs/eventsource
- Frappé Charts: github.com/cnguy/gopherjs-frappe-charts
- jQuery: github.com/gopherjs/jquery
- JS Builtins: github.com/gopherjs/jsbuiltin
- JS console: honnef.co/go/js/console
- Polymer: code.palmstonegames.com/polymer
- React:
- LevelUP: https://github.com/fiatjaf/levelup-js (isomorphic with https://github.com/fiatjaf/levelup)
- localStorage: github.com/go-humble/locstor
- PouchDB: github.com/flimzy/kivik
- QUnit: github.com/rusco/qunit
- SQL.js (SQLite3 in the browser): github.com/flimzy/go-sql.js
- WebGL: github.com/gopherjs/webgl
- Three.js:
- WebSocket: github.com/gopherjs/websocket
- XHR:
- Mithril: github.com/danverbraganza/go-mithril
- Ace (ace.c9.io): maunium.net/go/gopher-ace
- Mousetrap: maunium.net/go/gopher-mousetrap
- LeafletJS: github.com/ctessum/go-leaflet
- gotalk: github.com/Archs/js/gotalk
- ProtobufJS and gRPC Web: github.com/johanbrandhorst/protobuf
These libraries expose the same API for native architectures (386
, amd64
, arm
) and js
architecture. Using them allows writing isomorphic Go code (same Go code that can run in backend and frontend).
- GLFW: github.com/goxjs/glfw
- OpenGL ES-like unified API: github.com/goxjs/gl
- WebSocket client: github.com/goxjs/websocket
-
jsutil.Wrap
:Wrap
returns a wrapper func that handles the conversion from native JavaScriptjs.Object
parameters to other types. For details see issue 93 (comment). - Promise: A Promises/A+ implementation in Go that allows easily exposing idiomatic synchronous Go code to JS by returning a promise.