Socket
Socket
Sign inDemoInstall

github.com/open-olive/loop-development-kit/ldk/go/examples/clipboard

Package Overview
Dependencies
2
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/open-olive/loop-development-kit/ldk/go/examples/clipboard


Version published

Readme

Source

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

FAQs

Package last updated on 25 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc