package main import ( "embed" "github.com/tobychui/naffg" ) //go:embed res/* var uiFiles embed.FS func main() { app := naffg.NewApplication(&naffg.Options{ Title: "My App", Width: 400, Height: 300, Resizable: true, UiRes: &uiFiles, //Embed the UI resources UiResPreix: "res", //The folder where the resources is embeded from }) //Print the embedded files app.Debug_PrintEmbeddedFiles() // Run the application app.Run() }