package main

import (
	"context"
	"fmt"

	"github.com/fastly/compute-sdk-go/fsthttp"
)

func main() {
	fsthttp.ServeFunc(func(ctx context.Context, w fsthttp.ResponseWriter, r *fsthttp.Request) {
    output := "Hello world!"
    w.Header().Add("Content-Type", "text/plain")
    fmt.Fprint(w, output[6:12])
	})
}