Open returns the template's contents or an error if something went wrong. Calls to Open() will always be preceded by a call to Exists() with the same `templatePath`. It is the caller's duty to close the template.
(templatePath string)
| 49 | // Calls to Open() will always be preceded by a call to Exists() with the same `templatePath`. |
| 50 | // It is the caller's duty to close the template. |
| 51 | Open(templatePath string) (io.ReadCloser, error) |
| 52 | } |
| 53 | |
| 54 | // OSFileSystemLoader implements Loader interface using OS file system (os.File). |
no outgoing calls