more updates

This commit is contained in:
Henrique Dias committed 2017-06-19 18:23:57 +01:00
1 parent af4aaf07df
commit 8c19eda25f
16 files changed
+79 -83

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ type editor struct {
}
// newEditor gets the editor based on a FileInfo struct
func newEditor(r *http.Request, i *file) (*editor, error) {
func newEditor(r *http.Request, i *fileInfo) (*editor, error) {
var err error
// Create a new editor variable and set the mode