lightning-terminal/app.go
Viktor Torstensson 4a9ac9ed3c
multi: remove legacy // +build tag Lines
With a upgrade to a never version of newer golang.org/x/tools/govet,
a lint check to check for legacy buildtag lines starting with
`// +build` has been added, as they're no longer needed.

In order for the `make lint` check to pass with the newer version, we
remove such buildtag lines.
2025-11-25 01:38:22 +01:00

18 lines
472 B
Go

//go:build !litd_no_ui
package terminal
import (
"embed"
)
var (
// appBuildFS is an in-memory file system that contains all the static
// HTML/CSS/JS files of the UI. It is compiled into the binary with the
// go 1.16 embed directive below. Because the path is relative to the
// root package, all assets will have a path prefix of /app/build/ which
// we'll strip by giving a sub directory to the HTTP server.
//
//go:embed app/build/*
appBuildFS embed.FS
)