HttpFilesystemLoader supports loading templates from an http.FileSystem - useful for using one of several file-to-code generators that packs static files into a go binary (ex: https://github.com/jteeuwen/go-bindata)
| 132 | // file-to-code generators that packs static files into |
| 133 | // a go binary (ex: https://github.com/jteeuwen/go-bindata) |
| 134 | type HttpFilesystemLoader struct { |
| 135 | fs http.FileSystem |
| 136 | baseDir string |
| 137 | } |
| 138 | |
| 139 | // MustNewHttpFileSystemLoader creates a new HttpFilesystemLoader instance |
| 140 | // and panics if there's any error during instantiation. The parameters |
nothing calls this directly
no outgoing calls
no test coverage detected