Browse Source

Refactor delete_empty as per Go naming conventions

pull/22/head
Gregory Rudolph 5 years ago
parent
commit
9fbf0c52f2
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      main.go

2
main.go

@ -622,7 +622,7 @@ func handleInput(viewName string) error {
return nil return nil
} }
if strings.HasPrefix(inputString, cmdPrefix) { if strings.HasPrefix(inputString, cmdPrefix) {
cmd := delete_empty(strings.Split(inputString[len(cmdPrefix):], " ")) cmd := deleteEmpty(strings.Split(inputString[len(cmdPrefix):], " "))
if len(cmd) < 1 { if len(cmd) < 1 {
return nil return nil
} }

Loading…
Cancel
Save