mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
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.
18 lines
472 B
Go
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
|
|
)
|