go-patient-zero
The first go package (that I know of) existing in the npm ecosystem.
Usage
npm install go-patient-zero
This lets you do the following in main.go
package main import "./node_modules/go-patient-zero" func main() { goPatientZero.Test() }
Conventions
Going forward, we have to convert between conventions to get our ecosystems to play nice together. This will only work for simple cases until tools are built to maintain go workspaces while using npm.
Packages are checked into npm using dashs, i.e. go-patient-zero. This package is defined using
package goPatientZero
Note the conversion to camel case.
A nice warning is placed in index.js to let js users know of the crime I have committed.