git.wit.org/jcarr/packr@v1.10.8/builder/tmpl.go (about)

     1  package builder
     2  
     3  var tmpl = `package {{.Name}}
     4  
     5  import "github.com/gobuffalo/packr"
     6  
     7  // !!! GENERATED FILE !!!
     8  // Do NOT hand edit this file!!
     9  // It is recommended that you DO NOT check into this file into SCM.
    10  // We STRONGLY recommend you delete this file after you have built your
    11  // Go binary. You can use the "packr clean" command to clean up this,
    12  // and any other packr generated files.
    13  func init() {
    14  	{{ range $box := .Boxes -}}
    15  	{{range .Files -}}
    16  		packr.PackJSONBytes("{{$box.Name}}", "{{.Name}}", "{{.Contents}}")
    17  	{{end -}}
    18  	{{end -}}
    19  }
    20  `