unexport and rework some more things

This commit is contained in:
Henrique Dias committed 2017-06-25 14:48:34 +01:00
1 parent fffbcc7098
commit e1bee6d07e
5 files changed
+27 -31

No files matched your search

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