this repo has no description
Go 100.0%
10 1 2

Clone this repository

https://tangled.org/nandi.latha.org/godemo https://tangled.org/did:plc:ngokl2gnmpbvuvrfckja3g7p/godemo
git@tangled.org:nandi.latha.org/godemo git@tangled.org:did:plc:ngokl2gnmpbvuvrfckja3g7p/godemo

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

Go Demo App#

A simple Go web server demo for Tangled.

Installation#

First, install pixi if you don't have it:

# macOS/Linux
curl -fsSL https://pixi.sh/install.sh | sh

Then install godemo from our conda channel:

pixi global install godemo --channel https://prefix.dev/nandi-testing

From Source#

git clone https://tangled.org/@nandi.latha.org/godemo
cd godemo
go build -o godemo .

Running#

godemo

The server will start on port 8080 by default.

Endpoints#

  • / - Returns a friendly greeting
  • /health - Health check endpoint

CI/CD#

This project uses Tangled Spindles for continuous integration and publishes to prefix.dev.

Pipelines#

  • build.yml - Runs on push to main and PRs. Builds and tests the app.
  • release.yml - Runs on version tags (v*). Builds release binaries for multiple platforms.
  • conda-release.yml - Runs on version tags (v*). Builds and publishes conda package to prefix.dev.

Releasing#

To trigger a release, push an annotated tag:

git tag -a v1.0.0 -m "Release v1.0.0"
git push origin v1.0.0