Skip to content

spinframework/spin-go-sdk

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

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors