package main import ( "embed" "github.com/tobychui/naffg" ) //go:embed res/* var uiFiles embed.FS func main() { app := naffg.NewApplication(&naffg.Options{ Title: "CSS Demo", Width: 400, Height: 300, Resizable: false, 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() }