main.go
go
package main
import (
	"embed"
	"os"
	"log"
	"theskyscape.com/repo/skykit"
	"strudemusic/controllers"
)
//go:embed all:views
var views embed.FS
func main() {
	log.Println("We are live!")
	skykit.Serve(views,
		skykit.WithValue("hostPrefix", os.Getenv("HOST_PREFIX")),
		skykit.WithController(controllers.Home()),
	)
}
No comments yet.