This is an SDK for developing Spin applications using the Go programming language.
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.