generator-viam-go-module
v0.0.3
Published
Generate a go viam module
Readme
generator-go-module
Autogenerate the boilerplate for a viam go module using the Yeoman scaffolding library.
Usage
Make sure you have npm installed on your machine.
Install Yo:
npm install -g yoInstall the generator:
npm install -g generator-viam-go-moduleTo create your module, run:
yo viam-go-moduleand follow the prompts to create a module.
Once the module is created, run
go mod tidyThen, add defintions for the function stubs prior to building the module.
Note that Board, Input, and Camera modules are currently unsupported.
