go-latestver/frontend_dist.go
Knut Ahlers ca0e05c97e
Add frontend stub / initial setup of frontend
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-29 21:48:45 +01:00

15 lines
180 B
Go

//go:build !dev
package main
import (
"embed"
"net/http"
)
var (
//go:embed frontend/**
embeddedFrontend embed.FS
frontendFS http.FileSystem = http.FS(embeddedFrontend)
)