akshayganeshen / node-go

Experiment in building Node Native Addons with Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node Go

⚠️ DEPRECATED: Please use napi-go instead.

Go module to easily create Node.js Native Addons.

Developing

CGo

Add shared headers in lib/include/. These headers can declare functions and extern values, but should not include any definitions.

Implement any declared functions in a separate Go file. Definitions cannot appear in a Go file that uses the //export directive. See the cgo guide for info about this restriction.

Go

WIP

C++

Add addon code in src/.

Add an entry to binding.gyp to include it in the build.

About

Experiment in building Node Native Addons with Go

License:MIT License


Languages

Language:Makefile 74.4%Language:Python 13.4%Language:C++ 12.2%