package main

 import (
 	"context"
 	"fmt"
 	"os"

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

 func main() {
 	fsthttp.ServeFunc(func(_ context.Context, _ fsthttp.ResponseWriter, _ *fsthttp.Request) {
 		fmt.Println(os.Getenv("FASTLY_HOSTNAME"))
 	})
 }