GetRoot returns the folder currently set at root.
()
| 64 | |
| 65 | // GetRoot returns the folder currently set at root. |
| 66 | func (formats *Formats) GetRoot() string { |
| 67 | return formats.root |
| 68 | } |
| 69 | |
| 70 | // Register registers a resource loader for the given file format. |
| 71 | func (formats *Formats) Register(ext string, loader FileLoader) { |
no outgoing calls