github.com/ashleymcnamara/buffalo@v0.8.0/render/resolvers/file.go (about)

     1  package resolvers
     2  
     3  // FileResolver interface to try and resolve the location of
     4  // a given file.
     5  type FileResolver interface {
     6  	// Read the location of the given file and return it's
     7  	// contents or an error.
     8  	Read(string) ([]byte, error)
     9  	// Resolve the location of the given file
    10  	Resolve(string) (string, error)
    11  }