learnlytics-go/templ/storybook/_example/local/main.go
2025-03-20 12:35:13 +01:00

18 lines
253 B
Go

package main
import (
"context"
"fmt"
"os"
"github.com/a-h/templ/storybook/example"
)
func main() {
s := example.Storybook()
if err := s.ListenAndServeWithContext(context.Background()); err != nil {
fmt.Println(err.Error())
os.Exit(1)
}
}