first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package webui
|
||||
|
||||
import "embed"
|
||||
|
||||
// assets embeds templates/ and static/ directly into the compiled binary, so
|
||||
// mailgoserver is a genuinely standalone executable — it doesn't need to be run
|
||||
// from a particular working directory or shipped alongside its source tree.
|
||||
//
|
||||
//go:embed templates static
|
||||
var assets embed.FS
|
||||
Reference in New Issue
Block a user