github.com/wawandco/oxpecker@v1.5.7-0.20210910201653-5958d4afdd89/tools/buffalo/embedded/templates/embeded.go.tmpl (about) 1 package {{.}} 2 3 import ( 4 "embed" 5 6 "github.com/paganotoni/fsbox" 7 ) 8 9 var ( 10 //go:embed app/templates public migrations config 11 fs embed.FS 12 13 // Boxes used by the app, these are based on the embed.FS declared 14 // in the fs variable. 15 Assets = fsbox.New(fs, "public") 16 Templates = fsbox.New(fs, "app/templates") 17 Migrations = fsbox.New(fs, "migrations") 18 Config = fsbox.New(fs, "config") 19 )