Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

atomist-skills/go-sample-skill

Repository files navigation

Go Sample Skill

Simple skill showing how to subscribe to and transact new data written in Go.

Files

File Description
datalog/schema/commit_signature.edn Datalog schema defining Commit signature facts
datalog/subscription/on_push.edn Subscription for new pushes
datalog/subscription/on_commit_signature.edn Subscription for new commit signatures added to the database
Dockerfile Dockerfile to build the Skill runtime container image
main.go Go file defining main entrypoint
handlers.go Go file defining the event handlers
types.go Go file defining mapping for in and outgoing structs
skill.yaml Skill descriptor (metadata and parameters etc)

Contributing

Contributions to this project from community members are encouraged and appreciated. Please review the Contributing Guidelines for more information. Also see the Development section in this document.

Code of conduct

This project is governed by the Code of Conduct. You are expected to act in accordance with this code by participating. Please report any unacceptable behavior to [email protected].

Connect

Follow @atomist on Twitter and The Atomist Blog.

Support

General support questions should be discussed in the #help channel in the [Atomist community Slack workspace][slack].

If you find a problem, please create an issue.

Development

You will need to install Golang to build and test this project.

Build and test

Install dependencies.

$ go get

Use the following command to build the skill.

$ go build

Release

Releases are created by pushing a release semantic version tag to the repository, Atomist Skills take care of the rest.

To make this skill globally available, set its maturity to "stable" via the set maturity drop-down in its Atomist Community Slack channel.


Created by [Atomist][atomist]. Need Help? [Join our Slack workspace][slack]. [atomist]: https://atomist.com/ "Atomist" [slack]: https://join.atomist.com/ "Atomist Community Slack"