github.com/zachgersh/packr@v1.11.1/builder/tmpl.go (about)

     1  package builder
     2  
     3  var tmpl = `// Code generated by github.com/gobuffalo/packr. DO NOT EDIT
     4  
     5  package {{.Name}}
     6  
     7  import "github.com/gobuffalo/packr"
     8  
     9  // You can use the "packr clean" command to clean up this,
    10  // and any other packr generated files.
    11  func init() {
    12  	{{- range $box := .Boxes }}
    13  	{{- range .Files }}
    14  		packr.PackJSONBytes("{{$box.Name}}", "{{.Name}}", "{{.Contents}}")
    15  	{{- end }}
    16  	{{- end }}
    17  }
    18  `