Skip to content

About

Spin Go SDK

Resources

Contributing

Stars

14 stars

Watchers

10 watching

Forks

Repository files navigation

The Go SDK for Spin

This is an SDK for developing Spin applications using the Go programming language.

Example

package main

import (
	"fmt"
	"net/http"

	spinhttp "github.com/spinframework/spin-go-sdk/v3/http"
)

func init() {
	spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
		fmt.Fprintln(w, "Hello, Spin!")
	})
}

func main() {}

See the examples directory for more examples.

About

Spin Go SDK

Resources

Contributing

Stars

14 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages