Codebase list golang-github-gobuffalo-packr / bc0d5e39-4f34-480d-aace-2168de2838af/upstream v2 / packr_test.go
bc0d5e39-4f34-480d-aace-2168de2838af/upstream

Tree @bc0d5e39-4f34-480d-aace-2168de2838af/upstream (Download .tar.gz)

packr_test.go @bc0d5e39-4f34-480d-aace-2168de2838af/upstreamraw · history · blame

package packr

import "github.com/gobuffalo/packr/v2/file"

func qfile(name string, body string) File {
	f, err := file.NewFile(name, []byte(body))
	if err != nil {
		panic(err)
	}
	return f
}