Changed: DB Params
This commit is contained in:
17
templ/storybook/_example/local/main.go
Normal file
17
templ/storybook/_example/local/main.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user