more updates

Former-commit-id: 8c19eda25f
This commit is contained in:
Henrique Dias
2017-06-19 18:23:57 +01:00
parent 8d4981fcb8
commit bd7184d5df
16 changed files with 79 additions and 83 deletions

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