Codebase list golang-github-gobuffalo-packr / 9b6b9d2b-0f1c-42de-95f0-676e23a5a27d/upstream v2 / file / resolver / resolver_test.go
9b6b9d2b-0f1c-42de-95f0-676e23a5a27d/upstream

Tree @9b6b9d2b-0f1c-42de-95f0-676e23a5a27d/upstream (Download .tar.gz)

resolver_test.go @9b6b9d2b-0f1c-42de-95f0-676e23a5a27d/upstreamraw · history · blame

package resolver

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

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