github.com/JarrahG/buffalocli@v0.0.0-20230801092127-b85bfd5d395a/internal/genny/build/templates/a/embed.go.plush (about)

     1  package a
     2  
     3  import (
     4  	"embed"
     5  	"io/fs"
     6  
     7  	"github.com/gobuffalo/buffalo"
     8  )
     9  
    10  //go:embed *
    11  var files embed.FS
    12  
    13  func FS() fs.FS {
    14  	return buffalo.NewFS(files, "a")
    15  }