unexport and rework some more things

Former-commit-id: e1bee6d07e
This commit is contained in:
Henrique Dias
2017-06-25 14:48:34 +01:00
parent 99d99843b7
commit a72f25701a
5 changed files with 27 additions and 31 deletions

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