more updates

This commit is contained in:
Henrique Dias 2017-06-19 18:23:57 +01:00
parent af4aaf07df
commit 8c19eda25f
No known key found for this signature in database
GPG key ID: 936F5EB68D786730
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