clipboard

command module
v0.0.0-...-f6426a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2022 License: MIT Imports: 1 Imported by: 0

README

Sidekick Controller Example Go

This is a very simple controller to use as a starting point. This controller watches for text events and emits a whisper every time it receives an event.

Developers

Install

Ensure Go is installed and working (Instructions). Go v1.14 or higher is recommended.

This project uses Go Modules. You should clone it outside of your gopath. For example, your home directory.

To install dependencies, run the following command:

make install
Build

Build will compile an executable and output it to the /build directory.

Run the following command to build:

make build
Deploy

Deploying will first build, then copy the built files to the correct location for Sidekick to use them. You do not need to run the build command first, deploying will do it automatically.

This is useful for testing with Sidekick.

Run the following command to deploy:

make deploy
Quality

The project uses a collection of tools to ensure code standards are maintained.

Run the following command to execute the quality checking tools:

make quality
Test

This project has a test to ensure the controller text matching is working as expected.

Run the following command to execute tests:

make test

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL