AdGuardHome/main.go

21 lines
398 B
Go
Raw Normal View History

2023-09-11 17:51:50 +03:00
//go:build !next
package main
import (
"embed"
"github.com/AdguardTeam/AdGuardHome/internal/home"
)
// Embed the prebuilt client here since we strive to keep .go files inside the
// internal directory and the embed package is unable to embed files located
// outside of the same or underlying directory.
2023-02-01 15:41:34 +03:00
//go:embed build
var clientBuildFS embed.FS
func main() {
home.Main(clientBuildFS)
}